public final class DefaultPhysicalFileFactory extends Object implements PhysicalFileFactory
PhysicalFileFactory
implementation.Modifier and Type | Field and Description |
---|---|
static String |
ATTRIBUTE_COALESCING_BLOCKSIZE
Constant for the name of attribute
coalescingBlockSize . |
static String |
ATTRIBUTE_COALESCING_CACHING
Constant for the name of attribute
coalescingCaching . |
static String |
ATTRIBUTE_READAHEAD_CACHESIZE
Constant for the name of attribute
readAheadCacheSize . |
static String |
ATTRIBUTE_READAHEAD_CACHING
Constant for the name of attribute
readAheadCaching . |
static String |
ATTRIBUTE_SPACE_CHARACTERS_ALLOWED
Constant for the name of attribute
spaceCharactersAllowed . |
FORMAT_DISK, FORMAT_TAPE
Constructor and Description |
---|
DefaultPhysicalFileFactory()
Standard implementation constructor
org.jdtaus.banking.dtaus.ri.zka.DefaultPhysicalFileFactory . |
Modifier and Type | Method and Description |
---|---|
int |
analyse(File file) |
int |
analyse(FileOperations fileOperations) |
PhysicalFile |
createPhysicalFile(File file,
int format) |
PhysicalFile |
createPhysicalFile(File file,
int format,
Properties properties) |
PhysicalFile |
createPhysicalFile(FileOperations ops,
int format) |
PhysicalFile |
createPhysicalFile(FileOperations ops,
int format,
Properties properties) |
protected Implementation |
getImplementation() |
PhysicalFile |
getPhysicalFile(File file) |
PhysicalFile |
getPhysicalFile(FileOperations ops) |
PhysicalFile |
getPhysicalFile(FileOperations ops,
Properties properties) |
PhysicalFile |
getPhysicalFile(File file,
Properties properties) |
public static final String ATTRIBUTE_COALESCING_BLOCKSIZE
coalescingBlockSize
.
The coalescingBlockSize
attribute is used to specify the
value of property blockSize
to use when constructing the
coalescing cache implementation. Its expected value is of type
Integer
.
public static final String ATTRIBUTE_COALESCING_CACHING
coalescingCaching
.
The coalescingCaching
attribute is used to enabled or disable the
use of a coalescing caching algorithm. Its expected value is of type
Boolean
.
public static final String ATTRIBUTE_READAHEAD_CACHESIZE
readAheadCacheSize
.
The readAheadCacheSize
attribute is used to specify the
size of the read-ahead cache. Its expected value is of type
Integer
.
public static final String ATTRIBUTE_READAHEAD_CACHING
readAheadCaching
.
The readAheadCaching
attribute is used to enabled or disable the
use of a read-ahead caching algorithm. Its expected value is of type
Boolean
.
public static final String ATTRIBUTE_SPACE_CHARACTERS_ALLOWED
spaceCharactersAllowed
.
The spaceCharactersAllowed
attribute is used to specify numeric
fields for which space characters are to be allowed. It is used as
a prefix with the hexadecimal field constant appended. Its expected value
is of type Boolean
.
public DefaultPhysicalFileFactory()
org.jdtaus.banking.dtaus.ri.zka.DefaultPhysicalFileFactory
.public int analyse(File file) throws PhysicalFileException, IOException
analyse
in interface PhysicalFileFactory
PhysicalFileException
IOException
public int analyse(FileOperations fileOperations) throws PhysicalFileException, IOException
analyse
in interface PhysicalFileFactory
PhysicalFileException
IOException
public PhysicalFile createPhysicalFile(File file, int format) throws IOException
createPhysicalFile
in interface PhysicalFileFactory
IOException
public PhysicalFile createPhysicalFile(File file, int format, Properties properties) throws IOException
createPhysicalFile
in interface PhysicalFileFactory
IOException
public PhysicalFile createPhysicalFile(FileOperations ops, int format) throws IOException
createPhysicalFile
in interface PhysicalFileFactory
IOException
public PhysicalFile createPhysicalFile(FileOperations ops, int format, Properties properties) throws IOException
createPhysicalFile
in interface PhysicalFileFactory
IOException
protected Implementation getImplementation()
public PhysicalFile getPhysicalFile(File file) throws PhysicalFileException, IOException
getPhysicalFile
in interface PhysicalFileFactory
PhysicalFileException
IOException
public PhysicalFile getPhysicalFile(FileOperations ops) throws PhysicalFileException, IOException
getPhysicalFile
in interface PhysicalFileFactory
PhysicalFileException
IOException
public PhysicalFile getPhysicalFile(FileOperations ops, Properties properties) throws PhysicalFileException, IOException
getPhysicalFile
in interface PhysicalFileFactory
PhysicalFileException
IOException
public PhysicalFile getPhysicalFile(File file, Properties properties) throws PhysicalFileException, IOException
getPhysicalFile
in interface PhysicalFileFactory
PhysicalFileException
IOException
Copyright © 2005–2014 jDTAUS. All rights reserved.