public class InPdfArgs extends Object implements ArgsConfiguration, AutoCloseable
Modifier and Type | Method and Description |
---|---|
void |
addArguments(ArgumentParser parser)
Adds arguments that configure this
ArgsConfiguration to an
ArgumentParser |
void |
close() |
File |
getFile() |
com.itextpdf.text.pdf.PdfReader |
getPdfReader() |
com.itextpdf.text.pdf.PdfReader |
open() |
void |
setFromNamespace(Namespace namespace)
Sets configuration values from a parsed
Namespace |
public void addArguments(ArgumentParser parser)
ArgsConfiguration
ArgsConfiguration
to an
ArgumentParser
addArguments
in interface ArgsConfiguration
parser
- argument parser to add arguments topublic void setFromNamespace(Namespace namespace)
ArgsConfiguration
Namespace
setFromNamespace
in interface ArgsConfiguration
namespace
- the namespace with the argument valuespublic com.itextpdf.text.pdf.PdfReader open() throws OperationException
OperationException
public void close() throws OperationException
close
in interface AutoCloseable
OperationException
public com.itextpdf.text.pdf.PdfReader getPdfReader()
Copyright © 2015–2016 Hobrasoft s.r.o.. All rights reserved.