Uses of Interface
de.bernd_michaely.common.io.random.RandomAccessData
-
Packages that use RandomAccessData Package Description de.bernd_michaely.common.io.random de.bernd_michaely.x3f.extractor.cli de.bernd_michaely.x3f.types de.bernd_michaely.x3i.types -
-
Uses of RandomAccessData in de.bernd_michaely.common.io.random
Classes in de.bernd_michaely.common.io.random that implement RandomAccessData Modifier and Type Class Description class
RandomAccessByteArrayImpl
This class is a byte array based implementation of theRandomAccessData
interface.class
RandomAccessDataScope
Provides a RandomAccessData source for accessing a limited area of an underlying RandomAccessData source.class
RandomAccessFileChannelImpl
FileChannel based implementation of the RandomAccessData interface.class
RandomAccessFileImpl
This class is aRandomAccessFile
based implementation of theRandomAccessData
interface.class
RandomAccessFileStreamImpl
This class is a bufferedFileInputStream
based implementation of theRandomAccessData
interface.Methods in de.bernd_michaely.common.io.random that return RandomAccessData Modifier and Type Method Description static RandomAccessData
RandomAccessDataFactory. createInstance(byte[] bytes)
Creates a byte array based instance of aRandomAccessData
type.static RandomAccessData
RandomAccessDataFactory. createInstance(RandomAccessData data, long offset, long length)
Creates aRandomAccessData
source for accessing a limited area of an underlyingRandomAccessData
source.static RandomAccessData
RandomAccessDataFactory. createInstance(File file, RandomAccessDataFactory.AccessType accessType)
Creates aFile
based instance of aRandomAccessData
type.static RandomAccessData
RandomAccessDataFactory. createInstance(Path file)
Methods in de.bernd_michaely.common.io.random with parameters of type RandomAccessData Modifier and Type Method Description static RandomAccessData
RandomAccessDataFactory. createInstance(RandomAccessData data, long offset, long length)
Creates aRandomAccessData
source for accessing a limited area of an underlyingRandomAccessData
source.Constructors in de.bernd_michaely.common.io.random with parameters of type RandomAccessData Constructor Description RadInputStream(RandomAccessData randomAccessData)
Provides a view to the underlyingRandomAccessData
data source in full length as anInputStream
.RadInputStream(RandomAccessData randomAccessData, long offset, long length)
Provides a view to a subregion of the underlyingRandomAccessData
data source as anInputStream
. -
Uses of RandomAccessData in de.bernd_michaely.x3f.extractor.cli
Methods in de.bernd_michaely.x3f.extractor.cli with parameters of type RandomAccessData Modifier and Type Method Description protected void
CommandLineProcessor. writeJpgToFile(X3fData x3fData, RandomAccessData data, Path fileDest)
protected void
CommandLineProcessor. writeX3fToFile(X3fData x3fData, RandomAccessData data, Path fileDest)
Method parameters in de.bernd_michaely.x3f.extractor.cli with type arguments of type RandomAccessData Modifier and Type Method Description protected void
CommandLineProcessor. parseFovData(Path file, boolean readFirstFOVbOnly, BiConsumer<RandomAccessData,FovDataType> resultHandler)
-
Uses of RandomAccessData in de.bernd_michaely.x3f.types
Methods in de.bernd_michaely.x3f.types with parameters of type RandomAccessData Modifier and Type Method Description static X3fData
X3fDataFactory. createByCombinedParser(RandomAccessData randomAccessData)
This method uses the standard parsing method to extract information from X3F files and, if it fails, uses a recovery parser as fallback.static X3fData
X3fDataFactory. createByRecoveryParser(RandomAccessData randomAccessData)
Uses a recovery parsing method to extract information from X3F files.protected static X3fData
X3fDataFactory. createByRecoveryParser(RandomAccessData randomAccessData, boolean skipFileType, long offsetEmbedded)
Uses a recovery parsing method to extract information from X3F files.static X3fData
X3fDataFactory. createByStandardParser(RandomAccessData randomAccessData)
Uses the standard parsing method to extract information from X3F files.protected static X3fData
X3fDataFactory. createByStandardParser(RandomAccessData randomAccessData, boolean skipFileType, long offsetEmbedded)
Uses the standard parsing method to extract information from X3F files.protected X3fHeader
X3fHeaderFactory. createHeader(RandomAccessData data, UInt32 version)
Creates an instance of an X3fHeader object which is appropriate for the given data version or null, if the version is unsupported.boolean
UInt32. findPrefix(RandomAccessData randomAccessData, String prefix)
Searches the data source for a string prefix.boolean
UInt32. findUnsigned32(RandomAccessData randomAccessData, long unsignedInteger32)
Searches the data source for a 32 bit value.BufferedImage
X3fImageData. getBufferedImage(RandomAccessData data)
Returns a processed for preview image decoded as a BufferedImage.ByteArray
X3fImageData. getImageData(RandomAccessData data)
Returns raw image data stream contained in a byte array.void
X3fPropertyList. read(RandomAccessData data)
Method to parse and collect information contained in a X3F property list.protected void
ByteArray. readBytes(RandomAccessData randomAccessData, int length)
Reads the given number of bytes into this ByteArray object.void
UInt32. readUnsigned32(RandomAccessData randomAccessData)
Sets this value by reading a little endian unsigned 32 bit value from the given data.protected abstract boolean
X3fParser. readX3fDirectory(RandomAccessData data)
Reads or reconstructs an X3fDirectory.protected boolean
X3fParserRecovery. readX3fDirectory(RandomAccessData data)
Reconstructs an X3fDirectory.protected boolean
X3fParserStandard. readX3fDirectory(RandomAccessData data)
Reads an X3fDirectory.boolean
X3fImageData. writeImage(RandomAccessData data, OutputStream os)
Writes this image as JPEG to an OutputStream.Constructors in de.bernd_michaely.x3f.types with parameters of type RandomAccessData Constructor Description UInt32(RandomAccessData randomAccessData)
Initializes this value by reading four unsigned bytes from the given data.X3fDirectory(RandomAccessData data)
Constructor to parse and collect information contained in a X3F direcrory section.X3fDirectoryEntry(RandomAccessData data)
Constructor to read from a data source.X3fHeader_2_1(VersionNumber version, RandomAccessData data)
X3fHeader_2_x(VersionNumber version, RandomAccessData data)
X3fHeader_3_x(VersionNumber version, RandomAccessData data)
X3fHeader_4_x(VersionNumber version, RandomAccessData data)
X3fImageData(RandomAccessData data, int dataLength, int rotation)
Constructor to parse and collect information contained in a X3F image section.X3fParser(RandomAccessData data)
Constructor identifying and reading the file type and header.X3fParser(RandomAccessData data, boolean skipFileType, long offsetEmbedded)
Constructor identifying and reading the file header.X3fPropertyListHeader(RandomAccessData data)
Constructor to parse and collect information contained in a X3F property list header. -
Uses of RandomAccessData in de.bernd_michaely.x3i.types
Methods in de.bernd_michaely.x3i.types with parameters of type RandomAccessData Modifier and Type Method Description protected static X3fData
FovDataFactory. createByRecoveryParser(RandomAccessData randomAccessData, boolean skipFileType, long offsetEmbedded)
Passed through method from X3fDataFactory.protected static X3fData
FovDataFactory. createByStandardParser(RandomAccessData randomAccessData, boolean skipFileType, long offsetEmbedded)
Passed through method from X3fDataFactory.static FovDataType
FovDataFactory. parse(RandomAccessData data, boolean readFirstFOVbOnly)
Parses the given data source using a standard parser.protected static FovDataType
FovDataFactory. parse(RandomAccessData data, boolean readFirstFOVbOnly, boolean recoveryMode, long offsetEmbedded)
Parses the given data source and returns the result.static FovDataType
FovDataFactory. recover(RandomAccessData data)
Parses the given data source using a recovery parser.Method parameters in de.bernd_michaely.x3i.types with type arguments of type RandomAccessData Modifier and Type Method Description static void
FovDataFactory. parseOrRecover(byte[] bytes, boolean readFirstFOVbOnly, BiConsumer<RandomAccessData,FovDataType> resultHandler)
Parses the given data source using the standard parser and if it fails, immediately tries the recovery parser.static <R> Optional<R>
FovDataFactory. parseOrRecover(byte[] bytes, boolean readFirstFOVbOnly, BiFunction<RandomAccessData,FovDataType,Optional<R>> resultHandler)
Parses the given data source using the standard parser and if it fails, immediately tries the recovery parser.static void
FovDataFactory. parseOrRecover(File file, boolean readFirstFOVbOnly, BiConsumer<RandomAccessData,FovDataType> resultHandler)
Parses the given data source using the standard parser and if it fails, immediately tries the recovery parser.static <R> Optional<R>
FovDataFactory. parseOrRecover(File file, boolean readFirstFOVbOnly, BiFunction<RandomAccessData,FovDataType,Optional<R>> resultHandler)
Parses the given data source using the standard parser and if it fails, immediately tries the recovery parser.static void
FovDataFactory. parseOrRecover(Path file, boolean readFirstFOVbOnly, BiConsumer<RandomAccessData,FovDataType> resultHandler)
Parses the given data source using the standard parser and if it fails, immediately tries the recovery parser.static <R> Optional<R>
FovDataFactory. parseOrRecover(Path file, boolean readFirstFOVbOnly, BiFunction<RandomAccessData,FovDataType,Optional<R>> resultHandler)
Parses the given data source using the standard parser and if it fails, immediately tries the recovery parser.
-