gov.nih.nlm.umls.io
Interface FileStatisticsConfiguration

All Known Implementing Classes:
InputStreamFileStatisticsConfiguration, MRCXTBuilderFileStatisticsConfiguration

public interface FileStatisticsConfiguration

Generically represents a handler for creating FileStatistics information based on some kind of configuration.

Author:
Deborah Shapiro

Method Summary
 FileStatistics getFileStatistics(String file_name)
          Returns the FileStatistics object for the specified file name.
 void setAdditionalBytes(int additional_bytes)
          Indicates that additional bytes must be added to the byte count for all files.
 

Method Detail

getFileStatistics

FileStatistics getFileStatistics(String file_name)
Returns the FileStatistics object for the specified file name.

Parameters:
file_name - the specified file name
Returns:
the FileStatistics object for the specified file name

setAdditionalBytes

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.

Parameters:
additional_bytes - int


Copyright ©2005