See: Description
Class | Description |
---|---|
FlamByteInterface |
This interface provides byte-wise or record-oriented sequential read and
write access to original files.
|
FlamInputStream |
This InputStream provides sequential read access to original files.
|
FlamOutputStream |
This InputStream provides sequential write access to original files.
|
Enum | Description |
---|---|
HelpSubject |
Used to specify what to get syntax or help for when calling
FlamByteInterface.getSyntax(HelpSubject, int, String) or
FlamByteInterface.getHelp(HelpSubject, int, String) |
InfoFormat |
Specifies the output format of the function
FlamByteInterface.getInfo(String, InfoFormat) |
StatisticFormat |
Specifies the output format for statistics retuned by
FlamByteInterface.close(StatisticFormat) and
FlamByteInterface.close(boolean, StatisticFormat) |
Exception | Description |
---|---|
FlamException |
Thrown by the
FlamByteInterface if a FLAM error occurs |
This package provides a Java interface for the FLAM Byte Interface (flcbyt), including InputStream and OutputStream classes to facilitate usage.
The FLAM Byte Interface is a library written in C. It is accessed via Java
Native Interface (JNI) in conjunction with a native DLL (flcbytjava). This
library must be loaded to use the interface (see FlamByteInterface.loadLibrary()
).
For most platforms, a pre-compiled version can be found in the lib
directory of your FLAM installation.
You may also compile the required JNI DLL yourself. All you need is a C compiler and a JDK that ships the jni.h header file for your platform. An example makefile is provided.