|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.jac.aspects.export.Exporter
Constructor Summary | |
Exporter(Set roots,
Set allow,
Set deny)
|
Method Summary | |
protected boolean |
allowExport(ClassItem cl)
Tells wether instances of a class should be exported or not |
static String |
escapeChar(char c)
|
static String |
escapeString(String s)
|
void |
export(File file)
Exports all objects to a file |
void |
export(OutputStream outStream)
|
void |
export(OutputStream outStream,
String encoding)
Exports all objects to a stream |
void |
export(Writer out,
Object o,
String name,
String opath)
Exports an object to a stream |
protected void |
writeValue(Writer out,
Object value,
String opath)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Exporter(Set roots, Set allow, Set deny)
Method Detail |
public void export(File file) throws IOException
IOException
public void export(OutputStream outStream) throws IOException
IOException
public void export(OutputStream outStream, String encoding) throws IOException
IOException
public static String escapeChar(char c)
public static String escapeString(String s)
protected boolean allowExport(ClassItem cl)
public void export(Writer out, Object o, String name, String opath) throws IOException
out
- the stream to which to exporto
- the object to exportname
- name of the object to export
IOException
protected void writeValue(Writer out, Object value, String opath) throws IOException
IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |