gov.nih.nlm.mms.cxt
Class MRCXTBuilderFileStatisticsConfiguration
java.lang.Object
gov.nih.nlm.mms.cxt.MRCXTBuilderFileStatisticsConfiguration
- All Implemented Interfaces:
- FileStatisticsConfiguration
public class MRCXTBuilderFileStatisticsConfiguration
- extends Object
- implements FileStatisticsConfiguration
Class used to maintain data for MRFILES.RRF and MRCOLS.RRF
during the Building of MRCXT.RRF.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
additional_bytes
protected int additional_bytes
MRCXTBuilderFileStatisticsConfiguration
public MRCXTBuilderFileStatisticsConfiguration(File mrfiles_file,
File mrcols_file,
MRCXTBuilder mrcxt_builder)
throws IOException
- Instantiates a
MRCXTBuilderFileStatisticsConfiguration from the
specified MRCOLS and MRFILES.
- Parameters:
mrfiles_file - MRFILES.RRFmrcols_file - MRCOLS.RRF
- Throws:
IOException
setAdditionalBytes
public void setAdditionalBytes(int additional_bytes)
- Indicates that additional bytes must be added to the byte count for all files.
This may be used for cases such as the unicode BOM which is 3 bytes prepended
to all files written.
- Specified by:
setAdditionalBytes in interface FileStatisticsConfiguration
- Parameters:
additional_bytes - int
getFileStatistics
public FileStatistics getFileStatistics(String file_name)
- Returns the
FileStatistics object for the specified file name.
- Specified by:
getFileStatistics in interface FileStatisticsConfiguration
- Parameters:
file_name - the specified file name
- Returns:
- the
FileStatistics object for the specified file name
Copyright ©2005