edu.stanford.math.plex4.io
public class FileManager extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
generateUniqueFileName()
This function creates a unique filename.
|
static java.lang.String |
getBaseOutputPath()
This function returns the base output path.
|
static java.lang.String |
getCategoryOutputPath(java.lang.String category)
This function returns the category output path.
|
static java.lang.String |
getDailyOutputPath()
This function returns the daily output path.
|
static java.lang.String |
getUniqueCategoryOutputPath(java.lang.String category)
This function returns a unique category output path for the specified
category.
|
static java.lang.String |
getUniqueFilePath(java.lang.String basename,
java.lang.String extention) |
static java.lang.String |
getUniqueOutputPath()
This function returns a unique output path.
|
public static java.lang.String getUniqueFilePath(java.lang.String basename, java.lang.String extention) throws java.io.IOException
java.io.IOException
public static java.lang.String getBaseOutputPath()
public static java.lang.String getDailyOutputPath() throws java.io.IOException
java.io.IOException
public static java.lang.String getUniqueOutputPath() throws java.io.IOException
java.io.IOException
public static java.lang.String getCategoryOutputPath(java.lang.String category) throws java.io.IOException
category
- the name of the categoryjava.io.IOException
public static java.lang.String getUniqueCategoryOutputPath(java.lang.String category) throws java.io.IOException
category
- the name of the categoryjava.io.IOException
public static java.lang.String generateUniqueFileName()