public class DebianPackageParseCollectHandler extends Object implements net.sourceforge.javadpkg.DebianPackageParseHandler
A DebianPackageParseHandler which simply collects all information.
| Constructor and Description |
|---|
DebianPackageParseCollectHandler()
Creates a handler.
|
| Modifier and Type | Method and Description |
|---|---|
List<net.sourceforge.javadpkg.io.FileMetaData> |
getFiles()
Returns the files which have been passed to the handler by the
handleData(FileMetaData, DataSource) method. |
void |
handleData(net.sourceforge.javadpkg.io.FileMetaData metaData,
net.sourceforge.javadpkg.io.DataSource source) |
void |
printFiles(PrintStream out)
Prints the files into the specified stream.
|
public DebianPackageParseCollectHandler()
Creates a handler.
public void handleData(net.sourceforge.javadpkg.io.FileMetaData metaData,
net.sourceforge.javadpkg.io.DataSource source)
throws IOException,
net.sourceforge.javadpkg.ParseException
handleData in interface net.sourceforge.javadpkg.DebianPackageParseHandlerIOExceptionnet.sourceforge.javadpkg.ParseExceptionpublic List<net.sourceforge.javadpkg.io.FileMetaData> getFiles()
Returns the files which have been passed to the handler by the
handleData(FileMetaData, DataSource) method.
public void printFiles(PrintStream out)
Prints the files into the specified stream.
out - The stream.IllegalArgumentException - If the stream is null.Copyright © 2015–2019. All rights reserved.