|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apfloat.spi.FilenameGenerator
Class for generating filenames for temporary files.
Constructor Summary | |
FilenameGenerator(java.lang.String path,
java.lang.String initialValue,
java.lang.String suffix)
Create a new filename generator. |
Method Summary | |
java.lang.String |
generateFilename()
Generate a filename. |
java.lang.String |
getInitialValue()
Returns the current initial value of the base file names generated. |
java.lang.String |
getPath()
Returns the path setting of this filename generator. |
java.lang.String |
getSuffix()
Returns the suffix setting of this filename generator. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FilenameGenerator(java.lang.String path, java.lang.String initialValue, java.lang.String suffix) throws java.lang.NumberFormatException
path
- The path where the file are created. If null
, the default file path from the ApfloatContext
is used.initialValue
- The initial value for the numbers. If null
, the default file initial value from the ApfloatContext
is used.suffix
- The suffix for file names. If null
, the default file suffix from the ApfloatContext
is used.
java.lang.NumberFormatException
- If initialValue is not a valid integer number.Method Detail |
public java.lang.String generateFilename()
public java.lang.String getPath()
public java.lang.String getInitialValue()
public java.lang.String getSuffix()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |