public class MqlLibrary
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected static class |
MqlLibrary.FileHandle |
Modifier and Type | Field and Description |
---|---|
static int |
CHAR_VALUE |
static int |
FILE_ANSI |
static int |
FILE_BIN |
static int |
FILE_COMMON |
static int |
FILE_CSV |
static int |
FILE_READ |
static int |
FILE_REWRITE |
static int |
FILE_SHARE_READ |
static int |
FILE_SHARE_WRITE |
static int |
FILE_TXT |
static int |
FILE_UNICODE |
static int |
FILE_WRITE |
protected static java.util.ArrayList<MqlLibrary.FileHandle> |
Handles |
static int |
INT_VALUE |
static int |
INVALID_HANDLE |
protected static java.lang.String |
PathFiles |
protected static java.lang.String |
PathFilesCommon |
static int |
SEEK_CUR |
static int |
SEEK_END |
static int |
SEEK_SET |
static int |
SHORT_VALUE |
Constructor and Description |
---|
MqlLibrary() |
Modifier and Type | Method and Description |
---|---|
static <T> int |
ArrayResize(MqlArray<T> array,
int new_size) |
static <T> int |
ArrayResize(MqlArray<T> array,
int new_size,
int reserve_size) |
static <T> int |
ArraySize(MqlArray<T> array) |
static <T> int |
ArraySize(T[] array) |
static java.lang.String |
DoubleToString(double value) |
static java.lang.String |
DoubleToString(double value,
int digits) |
static void |
FileClose(int file_handle) |
static void |
FileFlush(int file_handle) |
static boolean |
FileIsEnding(int file_handle) |
static int |
FileOpen(java.lang.String file_name,
int open_flags) |
static int |
FileOpen(java.lang.String file_name,
int open_flags,
java.lang.String delimiter) |
static int |
FileOpen(java.lang.String file_name,
int open_flags,
java.lang.String delimiter,
long codepage) |
static long |
FileReadArray(int file_handle,
MqlArray<java.lang.Double> array,
int start,
int count) |
static double |
FileReadDouble(int file_handle) |
static float |
FileReadFloat(int file_handle) |
static int |
FileReadInteger(int file_handle) |
static int |
FileReadInteger(int file_handle,
int size) |
static long |
FileReadLong(int file_handle) |
static java.lang.String |
FileReadString(int file_handle,
int length) |
static boolean |
FileSeek(int file_handle,
long offset,
int origin) |
static long |
FileTell(int file_handle) |
static int |
FileWrite(int file_handle,
java.lang.String text) |
static long |
FileWriteArray(int file_handle,
double[] array) |
static long |
FileWriteArray(int file_handle,
java.lang.Object[] array) |
static long |
FileWriteArray(int file_handle,
java.lang.Object[] array,
int start) |
static long |
FileWriteArray(int file_handle,
java.lang.Object[] array,
int start,
int count) |
static int |
FileWriteDouble(int file_handle,
double value) |
static int |
FileWriteFloat(int file_handle,
float value) |
static int |
FileWriteInteger(int file_handle,
int value) |
static int |
FileWriteInteger(int file_handle,
int value,
int size) |
static int |
FileWriteLong(int file_handle,
long value) |
static int |
FileWriteString(int file_handle,
java.lang.String text) |
static int |
FileWriteString(int file_handle,
java.lang.String text,
int length) |
static long |
FileWriteStruct(int file_handle,
java.lang.Object value) |
static long |
FileWriteStruct(int file_handle,
java.lang.Object value,
int size) |
static MqlLibrary.FileHandle |
getFileHandle(int file_handle) |
static java.lang.String |
getPathFiles() |
static java.lang.String |
getPathFilesCommon() |
static RandomAccessFileLE |
getRas(int file_handle) |
static void |
setBufferSize(int file_handle,
int size) |
static void |
setPathFiles(java.lang.String pathFiles) |
static void |
setPathFilesCommon(java.lang.String pathFilesCommon) |
static int |
StringLen(java.lang.String str) |
static java.lang.String |
typename(java.lang.Class<?> clazz) |
public static final int INVALID_HANDLE
public static final int CHAR_VALUE
public static final int SHORT_VALUE
public static final int INT_VALUE
public static final int FILE_READ
public static final int FILE_WRITE
public static final int FILE_BIN
public static final int FILE_CSV
public static final int FILE_TXT
public static final int FILE_ANSI
public static final int FILE_UNICODE
public static final int FILE_SHARE_READ
public static final int FILE_SHARE_WRITE
public static final int FILE_REWRITE
public static final int FILE_COMMON
public static final int SEEK_SET
public static final int SEEK_CUR
public static final int SEEK_END
protected static java.util.ArrayList<MqlLibrary.FileHandle> Handles
protected static java.lang.String PathFiles
protected static java.lang.String PathFilesCommon
public static java.lang.String typename(java.lang.Class<?> clazz)
public static <T> int ArraySize(T[] array)
public static <T> int ArraySize(MqlArray<T> array)
public static <T> int ArrayResize(MqlArray<T> array, int new_size)
public static <T> int ArrayResize(MqlArray<T> array, int new_size, int reserve_size)
public static int StringLen(java.lang.String str)
public static java.lang.String DoubleToString(double value)
public static java.lang.String DoubleToString(double value, int digits)
public static MqlLibrary.FileHandle getFileHandle(int file_handle) throws java.io.IOException
java.io.IOException
public static RandomAccessFileLE getRas(int file_handle) throws java.io.IOException
java.io.IOException
public static void setBufferSize(int file_handle, int size)
public static java.lang.String getPathFiles()
public static void setPathFiles(java.lang.String pathFiles)
public static java.lang.String getPathFilesCommon()
public static void setPathFilesCommon(java.lang.String pathFilesCommon)
public static int FileOpen(java.lang.String file_name, int open_flags)
public static int FileOpen(java.lang.String file_name, int open_flags, java.lang.String delimiter)
public static int FileOpen(java.lang.String file_name, int open_flags, java.lang.String delimiter, long codepage)
public static void FileClose(int file_handle)
public static void FileFlush(int file_handle)
public static boolean FileSeek(int file_handle, long offset, int origin)
public static long FileTell(int file_handle)
public static boolean FileIsEnding(int file_handle)
public static int FileWriteInteger(int file_handle, int value)
public static int FileWriteInteger(int file_handle, int value, int size)
public static int FileReadInteger(int file_handle)
public static int FileReadInteger(int file_handle, int size)
public static int FileWriteLong(int file_handle, long value)
public static long FileReadLong(int file_handle)
public static int FileWriteFloat(int file_handle, float value)
public static float FileReadFloat(int file_handle)
public static int FileWriteDouble(int file_handle, double value)
public static double FileReadDouble(int file_handle)
public static int FileWriteString(int file_handle, java.lang.String text)
public static int FileWriteString(int file_handle, java.lang.String text, int length)
public static int FileWrite(int file_handle, java.lang.String text)
public static java.lang.String FileReadString(int file_handle, int length)
public static long FileWriteArray(int file_handle, java.lang.Object[] array)
public static long FileWriteArray(int file_handle, java.lang.Object[] array, int start)
public static long FileWriteArray(int file_handle, java.lang.Object[] array, int start, int count)
public static long FileReadArray(int file_handle, MqlArray<java.lang.Double> array, int start, int count)
public static long FileWriteStruct(int file_handle, java.lang.Object value)
public static long FileWriteStruct(int file_handle, java.lang.Object value, int size)
public static long FileWriteArray(int file_handle, double[] array)