|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ap.store.JavaFile com.ap.store.ZipStore
Constructor Summary | |
ZipStore(java.io.File file)
|
|
ZipStore(java.lang.String file)
|
Method Summary | |
Store |
add(java.lang.String name)
Creates a new store and adds it as children |
int |
compareTo(java.lang.Object obj)
|
void |
create()
Creates the store regarding to the persistent storage (if applicable) |
void |
createChild(java.lang.String path)
|
boolean |
delete()
Deletes the store and its content |
java.lang.String |
getName()
|
java.lang.String |
getType()
|
java.io.InputStream |
input()
|
java.io.InputStream |
input(java.lang.String path)
|
java.io.OutputStream |
output()
|
java.io.OutputStream |
output(java.lang.String path)
|
java.io.PrintWriter |
printWriter()
|
java.io.Reader |
reader()
|
java.io.Reader |
reader(java.lang.String path)
|
boolean |
remove(java.lang.String name)
Removes the child with the given name from the children list |
void |
setParent(Store store)
|
void |
sync()
Flushes, writes, on persistent storage data that need to be saved (if applicable) |
java.io.Writer |
writer()
|
java.io.Writer |
writer(java.lang.String path)
|
Methods inherited from class com.ap.store.JavaFile |
attach, child, children, detach, exists, getParent, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ZipStore(java.io.File file)
public ZipStore(java.lang.String file)
Method Detail |
public java.lang.String getName()
getName
in interface Store
getName
in class JavaFile
public java.lang.String getType()
getType
in interface Store
getType
in class JavaFile
public void create()
Store
create
in interface Store
create
in class JavaFile
public boolean delete()
Store
delete
in interface Store
delete
in class JavaFile
public java.io.InputStream input()
input
in interface Store
input
in class JavaFile
public java.io.OutputStream output()
output
in interface Store
output
in class JavaFile
public java.io.Reader reader()
reader
in interface Store
reader
in class JavaFile
public java.io.Writer writer()
writer
in interface Store
writer
in class JavaFile
public java.io.PrintWriter printWriter()
printWriter
in interface Store
printWriter
in class JavaFile
public void setParent(Store store)
setParent
in interface Store
setParent
in class JavaFile
public Store add(java.lang.String name)
Store
add
in interface Store
add
in class JavaFile
public boolean remove(java.lang.String name)
Store
remove
in interface Store
remove
in class JavaFile
public void sync()
Store
sync
in interface Store
sync
in class JavaFile
public void createChild(java.lang.String path)
public java.io.InputStream input(java.lang.String path)
public java.io.OutputStream output(java.lang.String path)
public java.io.Reader reader(java.lang.String path)
public java.io.Writer writer(java.lang.String path)
public int compareTo(java.lang.Object obj)
compareTo
in interface java.lang.Comparable
compareTo
in class JavaFile
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |