|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--ereinion.io.FileTree
Classe per la gestione di un Tree di file e directory. Vengono fornite anche funzioni di serializzazione.
| Constructor Summary | |
FileTree()
|
|
| Method Summary | |
static NTree |
buildFileTree(java.io.File sourcePath)
Funzione che crea un FileTree a partire da un File radice. |
static NTree |
fromBytes(byte[] treeData)
Funzione che riconverte un array di byte in un NTree rappresentante un Tree di directory. |
static byte[] |
toBytes(NTree root)
Funzione che converte un FileTree in un array di byte. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FileTree()
| Method Detail |
public static NTree fromBytes(byte[] treeData)
treeData - i dati del FileTree.
public static byte[] toBytes(NTree root)
root - la radice del FileTree da convertire.
public static NTree buildFileTree(java.io.File sourcePath)
sourcePath - il file radice
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||