|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.jac.core.AspectComponent | +--org.objectweb.jac.aspects.export.ExportAC
Field Summary | |
static String |
DEFAULT_ENCODING
|
Fields inherited from class org.objectweb.jac.core.AspectComponent |
application, blockKeywords, cr, currentConfigMethod, currentImports, firstCall, NOT_SHARED, SHARED, startWeavingCCount, startWeavingCount, startWeavingMethod, startWeavingType, systemListener, wrappers |
Fields inherited from interface org.objectweb.jac.core.BaseProgramListener |
FOUND_OBJECT |
Constructor Summary | |
ExportAC()
|
Method Summary | |
void |
addRoot(String nameExpr)
Declare some objects as roots to start exporting from. |
void |
allowExport(String classExpr)
Allows exporting of some classes |
void |
denyExport(String classExpr)
Denies exporting of some classes |
void |
export(File file)
Exports all objects to a file with the default charset encoding, which is UTF-8. |
void |
export(File file,
String encoding)
Exports all objects to a file with the default charset encoding, which is UTF-8. |
void |
export(OutputStream out)
Exports all objects to a stream with the default charset encoding, which is UTF-8. |
void |
export(OutputStream out,
String encoding)
Exports all objects to a stream |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String DEFAULT_ENCODING
Constructor Detail |
public ExportAC()
Method Detail |
public void addRoot(String nameExpr)
addRoot
in interface ExportConf
nameExpr
- a regular expression matching the name of root objectspublic void allowExport(String classExpr)
ExportConf
allowExport
in interface ExportConf
classExpr
- classes to exportpublic void denyExport(String classExpr)
ExportConf
denyExport
in interface ExportConf
classExpr
- classes not to exportpublic void export(OutputStream out, String encoding) throws IOException
out
- stream to export toencoding
- charset encoding to use (UTF-8 ,iso-8859-1,...)
IOException
export(OutputStream)
,
export(File)
,
export(File,String)
public void export(OutputStream out) throws IOException
out
- stream to export to
IOException
export(OutputStream,String)
,
export(File)
,
export(File,String)
public void export(File file) throws IOException
file
- file to export to
IOException
export(File,String)
,
export(OutputStream)
,
export(OutputStream,String)
public void export(File file, String encoding) throws IOException
file
- file to export toencoding
- charset encoding to use (UTF-8 ,iso-8859-1,...)
IOException
export(File)
,
export(OutputStream)
,
export(OutputStream,String)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |