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)
ArgsConfigurationArgsConfiguration to an
ArgumentParseraddArguments in interface ArgsConfigurationparser - argument parser to add arguments topublic void setFromNamespace(Namespace namespace)
ArgsConfigurationNamespacesetFromNamespace in interface ArgsConfigurationnamespace - the namespace with the argument valuespublic com.itextpdf.text.pdf.PdfReader open() throws OperationException
OperationExceptionpublic void close() throws OperationException
close in interface AutoCloseableOperationExceptionpublic com.itextpdf.text.pdf.PdfReader getPdfReader()
Copyright © 2015–2016 Hobrasoft s.r.o.. All rights reserved.