|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuiton.wikitty.publication.WikittyFileUtil
public class WikittyFileUtil
Class that containt utils method when handle wikitty store as file.
| Field Summary | |
|---|---|
static String |
WIKITTY_FILE_META_PROPERTIES_FILE
The file name of the meta property file |
static String |
WIKITTY_ID_PROPERTIES_FILE
The file Name of the id property file |
static String |
WIKITTY_LABEL_SEPARATOR
|
| Constructor Summary | |
|---|---|
WikittyFileUtil()
|
|
| Method Summary | |
|---|---|
static boolean |
createFilesFromLabelPath(File homeFile,
String label)
Creates all the file system require from a label path in the working directory |
static String |
labelToPath(String label)
Construct correctly the path from a label |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static String WIKITTY_FILE_META_PROPERTIES_FILE
public static String WIKITTY_LABEL_SEPARATOR
public static String WIKITTY_ID_PROPERTIES_FILE
| Constructor Detail |
|---|
public WikittyFileUtil()
| Method Detail |
|---|
public static String labelToPath(String label)
label - the label
public static boolean createFilesFromLabelPath(File homeFile,
String label)
throws IOException
homeFile - label - the path string
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||