|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.gridsystems.GridXMLDirectorySerializer
public class GridXMLDirectorySerializer
GridXMLDirectorySerializer.
Constructor Summary | |
---|---|
GridXMLDirectorySerializer(java.io.Writer out)
Crea un nuevo GridXMLSerializer para escribir sobre un Writer. |
|
GridXMLDirectorySerializer(java.io.Writer out,
java.io.FileFilter filter)
Crea un nuevo GridXMLSerializer para escribir sobre un Writer. |
Method Summary | |
---|---|
void |
serialize(boolean properties,
java.io.File... dirs)
Serializes in XML style the information of a directory. |
void |
serialize(boolean properties,
java.lang.String... paths)
Serializes in XML style the information of a directory. |
void |
serialize(java.lang.String... dirs)
Serializes in XML style the information of a directory. |
void |
serializeDirStructure(java.lang.String[] dirs)
Deprecated. serialize() methods are now preferred |
void |
serializeDirStructure(java.lang.String[] dirs,
boolean properties)
Deprecated. serialize() methods are now preferred |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GridXMLDirectorySerializer(java.io.Writer out)
out
- writer de salida del XML generadopublic GridXMLDirectorySerializer(java.io.Writer out, java.io.FileFilter filter)
out
- Output writerfilter
- Used to filter included filesMethod Detail |
---|
public void serializeDirStructure(java.lang.String[] dirs) throws java.lang.Exception
dirs
- Contains the root path to serialize. It must finish with /.
java.lang.Exception
- if errorpublic void serializeDirStructure(java.lang.String[] dirs, boolean properties) throws java.lang.Exception
dirs
- Contains the root path to serialize. It must finish with /.properties
- If true, file properties will be serialized
java.lang.Exception
- if errorpublic void serialize(java.lang.String... dirs) throws java.io.IOException
dirs
- Contains the root path to serialize. It must finish with /.
java.io.IOException
- if errorpublic void serialize(boolean properties, java.lang.String... paths) throws java.io.IOException
paths
- Contains the root paths to serialize.properties
- If true, file properties will be serialized
java.io.IOException
- if errorpublic void serialize(boolean properties, java.io.File... dirs) throws java.io.IOException
dirs
- Contains the root path to serialize. It must finish with /.properties
- If true, file properties will be serialized
java.io.IOException
- if error
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |