|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Canvas
canvas provides access to content repository
| Method Summary | |
|---|---|
java.util.List<java.io.File> |
beads(java.io.File name)
list beads directly under specified path |
java.util.List<java.io.File> |
directories(java.io.File name)
list silbing directories |
boolean |
exists(java.io.File name)
check existence of bead or directory |
boolean |
exists(java.lang.String name)
check existence of bead or directrory |
Bead |
getBead(java.io.File name)
retrieve bead by file name relative to root |
Bead |
getBead(java.lang.String name)
retrieve bead by its name if possible |
java.io.File |
getRoot()
root of the canvas |
boolean |
isBead(java.io.File name)
check existence of bead |
boolean |
isBead(java.lang.String name)
check existence of bead |
boolean |
isDirectory(java.io.File name)
chekc existence of directory |
boolean |
isDirectory(java.lang.String name)
check existence of directory |
void |
removeBead(Bead bead)
remove bead in question |
void |
removeBead(java.io.File name)
remove bead designated by file |
void |
removeBead(java.lang.String name)
remove bead designated by relative file name |
void |
saveBead(Bead bead)
save bead. |
| Method Detail |
|---|
Bead getBead(java.lang.String name)
throws java.io.IOException
name - name of bead to be retrieved
java.io.IOException
Bead getBead(java.io.File name)
throws java.io.IOException
name -
java.io.IOExceptionjava.io.File getRoot()
void saveBead(Bead bead)
throws java.io.IOException
bead -
java.io.IOException
void removeBead(Bead bead)
throws java.io.IOException
bead -
java.io.IOException
void removeBead(java.io.File name)
throws java.io.IOException
name -
java.io.IOException
void removeBead(java.lang.String name)
throws java.io.IOException
name -
java.io.IOException
boolean isBead(java.lang.String name)
throws java.io.IOException
name -
java.io.IOException
boolean isDirectory(java.lang.String name)
throws java.io.IOException
name -
java.io.IOException
boolean exists(java.lang.String name)
throws java.io.IOException
name -
java.io.IOException
boolean isBead(java.io.File name)
throws java.io.IOException
name -
java.io.IOException
boolean isDirectory(java.io.File name)
throws java.io.IOException
name -
java.io.IOException
boolean exists(java.io.File name)
throws java.io.IOException
name -
java.io.IOException
java.util.List<java.io.File> beads(java.io.File name)
throws java.io.IOException
name - name of directory in canvas
java.io.IOException - if specified path does not exist or not a directory
java.util.List<java.io.File> directories(java.io.File name)
throws java.io.IOException
name - of directory in canvas
java.io.IOException - is specified path does not exist or is not a directory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||