com.chaosserver.bilbo.task
Class JolietFormatter
java.lang.Object
|
+--com.chaosserver.bilbo.task.JolietFormatter
- public class JolietFormatter
- extends Object
Class used to format a given filename into a Joliet acceptable version.
- Since:
- Bilbo 1.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static Logger logger
- Handle the logging object.
MAX_FILENAME_LENGTH
public static final int MAX_FILENAME_LENGTH
- Max length of the filename in Joliet format.
- See Also:
- Constant Field Values
JolietFormatter
public JolietFormatter()
formatJoliet
public static String formatJoliet(Directory directory,
File file)
throws JolietException
- Generates a valid Joliet filename for the file passed in.
- Parameters:
directory
- The directory the file exists in. This is needed in case
of naming conflicts with files already in the directory.file
- The file to generate a Joliet name for.
- Returns:
- A valid joliet filename for the file
JolietException
Copyright © 20020226