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)
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 void setFromInfo(Map<String,String> info)
Copyright © 2015–2016 Hobrasoft s.r.o.. All rights reserved.