public class MetadataParameters extends Object implements ArgsConfiguration
| Constructor and Description |
|---|
MetadataParameters() |
| Modifier and Type | Method and Description |
|---|---|
void |
addArguments(ArgumentParser parser)
Adds arguments that configure this
ArgsConfiguration to an
ArgumentParser |
Map<String,String> |
getInfo(com.itextpdf.text.pdf.PdfReader pdfReader) |
SortedMap<String,String> |
getSorted() |
void |
setFromInfo(Map<String,String> info) |
void |
setFromNamespace(Namespace namespace)
Sets configuration values from a parsed
Namespace |
public MetadataParameters()
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 void setFromInfo(Map<String,String> info)
Copyright © 2015–2016 Hobrasoft s.r.o.. All rights reserved.