org.sejda.model.parameter
Class SetMetadataParameters

java.lang.Object
  extended by org.sejda.model.parameter.base.AbstractParameters
      extended by org.sejda.model.parameter.base.AbstractPdfOutputParameters
          extended by org.sejda.model.parameter.base.SinglePdfSourceSingleOutputParameters
              extended by org.sejda.model.parameter.SetMetadataParameters
All Implemented Interfaces:
SingleOutputTaskParameters, SinglePdfSourceTaskParameters, TaskParameters

@SingleOutputAllowedExtensions
public final class SetMetadataParameters
extends SinglePdfSourceSingleOutputParameters

Parameter class for the set metadata manipulation.

Author:
Andrea Vacondio

Constructor Summary
SetMetadataParameters()
           
 
Method Summary
 Set<Map.Entry<PdfMetadataKey,String>> entrySet()
           
 boolean equals(Object other)
           
 PdfSource<?> getSource()
           
 int hashCode()
           
 Set<PdfMetadataKey> keySet()
           
 void put(PdfMetadataKey key, String metadata)
          adds the key,value
 void putAll(Map<PdfMetadataKey,String> m)
           
 void setSource(PdfSource<?> source)
          Set the source for this parameter.
 
Methods inherited from class org.sejda.model.parameter.base.SinglePdfSourceSingleOutputParameters
getOutput, getOutputName, setOutput, setOutputName
 
Methods inherited from class org.sejda.model.parameter.base.AbstractPdfOutputParameters
getMinRequiredPdfVersion, getVersion, isCompressXref, setCompress, setVersion
 
Methods inherited from class org.sejda.model.parameter.base.AbstractParameters
isOverwrite, setOverwrite
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.sejda.model.parameter.base.TaskParameters
isOverwrite
 

Constructor Detail

SetMetadataParameters

public SetMetadataParameters()
Method Detail

entrySet

public Set<Map.Entry<PdfMetadataKey,String>> entrySet()
Returns:
an unmodifiable set view of map
See Also:
Map.entrySet()

keySet

public Set<PdfMetadataKey> keySet()
Returns:
a unmodifiable set containing keys of the map
See Also:
Map.keySet()

putAll

public void putAll(Map<PdfMetadataKey,String> m)
Parameters:
m -
See Also:
Map.putAll(Map)

put

public void put(PdfMetadataKey key,
                String metadata)
adds the key,value

Parameters:
key -
metadata -
See Also:
Map.put(Object, Object)

hashCode

public int hashCode()
Overrides:
hashCode in class SinglePdfSourceSingleOutputParameters

equals

public boolean equals(Object other)
Overrides:
equals in class SinglePdfSourceSingleOutputParameters

getSource

public PdfSource<?> getSource()
Specified by:
getSource in interface SinglePdfSourceTaskParameters
Returns:
the source for this parameter.

setSource

public void setSource(PdfSource<?> source)
Description copied from interface: SinglePdfSourceTaskParameters
Set the source for this parameter.

Specified by:
setSource in interface SinglePdfSourceTaskParameters


Copyright © 2013 sejda. All Rights Reserved.