01: /*
02: * JFolder, Copyright 2001-2006 Gary Steinmetz
03: *
04: * Distributable under LGPL license.
05: * See terms of license at gnu.org.
06: */
07:
08: package org.jfolder.common.files;
09:
10: //base classes
11:
12: //project specific classes
13:
14: //other classes
15:
16: public interface VirtualFileSystemProperties {
17:
18: public final static String DEFAULT_DOCUMENT = "<properties></properties>";
19:
20: //
21: public int getPropertyCount();
22:
23: //
24: public String getPropertyValue(String inName);
25:
26: //
27: public String getPropertyName(int inIndex);
28:
29: public String getPropertyValue(int inIndex);
30:
31: //
32: public boolean isPropertyPresent(String inName);
33:
34: //
35: public boolean isValidPropertyName(String inName);
36:
37: public boolean isValidPropertyValue(String inValue);
38:
39: public void createProperty(String inName, String inValue);
40:
41: public void updateProperty(String inName, String inValue);
42:
43: public void removeProperty(String inName);
44:
45: //
46: public void setDocument(String inDocument);
47:
48: public String getDocument();
49:
50: public boolean isValidDocument(String inDocument);
51: }
|