|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apfloat.spi.FilenameGenerator
public class FilenameGenerator
Class for generating filenames for temporary files.
| Constructor Summary | |
|---|---|
FilenameGenerator(String path,
String initialValue,
String suffix)
Create a new filename generator. |
|
| Method Summary | |
|---|---|
String |
generateFilename()
Generate a filename. |
String |
getInitialValue()
Returns the current initial value of the base file names generated. |
String |
getPath()
Returns the path setting of this filename generator. |
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(String path,
String initialValue,
String suffix)
throws 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.
NumberFormatException - If initialValue is not a valid integer number.| Method Detail |
|---|
public String generateFilename()
public String getPath()
public String getInitialValue()
public String getSuffix()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||