public class FileOutputStreamOptionHandler extends org.kohsuke.args4j.spi.OptionHandler<FileOutputStream>
OptionHandler
that can provide a FileOutputStream
from
a file name.Constructor and Description |
---|
FileOutputStreamOptionHandler(org.kohsuke.args4j.CmdLineParser parser,
org.kohsuke.args4j.OptionDef option,
org.kohsuke.args4j.spi.Setter<? super FileOutputStream> setter)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getDefaultMetaVariable() |
int |
parseArguments(org.kohsuke.args4j.spi.Parameters params) |
public FileOutputStreamOptionHandler(org.kohsuke.args4j.CmdLineParser parser, org.kohsuke.args4j.OptionDef option, org.kohsuke.args4j.spi.Setter<? super FileOutputStream> setter)
parser
- the parseroption
- the option definitionsetter
- the setterpublic String getDefaultMetaVariable()
getDefaultMetaVariable
in class org.kohsuke.args4j.spi.OptionHandler<FileOutputStream>
public int parseArguments(org.kohsuke.args4j.spi.Parameters params) throws org.kohsuke.args4j.CmdLineException
parseArguments
in class org.kohsuke.args4j.spi.OptionHandler<FileOutputStream>
org.kohsuke.args4j.CmdLineException