Interface IContextSource.IOutputSink
-
- All Superinterfaces:
java.lang.AutoCloseable
- Enclosing interface:
- IContextSource
public static interface IContextSource.IOutputSink extends java.lang.AutoCloseableA collector for output derived from this specific context entry.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidacceptClass(java.lang.String qualifiedName, java.lang.String fileName, java.lang.String content, int[] mapping)Write a class to this entryvoidacceptDirectory(java.lang.String directory)Create a directory in this output location.voidacceptOther(java.lang.String path)Accept other files, which should be copied directly through from the source.voidbegin()Begin this entry, performing any necessary setup work such as creating an archivevoidclose()
-
-
-
Method Detail
-
begin
void begin()
Begin this entry, performing any necessary setup work such as creating an archive
-
acceptClass
void acceptClass(java.lang.String qualifiedName, java.lang.String fileName, java.lang.String content, int[] mapping)Write a class to this entry- Parameters:
qualifiedName- the qualified name of the classfileName- the file name of the class, relative to its sourcecontent- the class text contentmapping- a flat array of pairs of (input line number, output line number), null when -bsm=0
-
acceptDirectory
void acceptDirectory(java.lang.String directory)
Create a directory in this output location.- Parameters:
directory- the directory to create
-
acceptOther
void acceptOther(java.lang.String path)
Accept other files, which should be copied directly through from the source.- Parameters:
path- the path
-
close
void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Throws:
java.io.IOException
-
-