public class PDS3Label extends Object implements PDSObject
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTEXT |
ContextUtil |
ctxtUtil |
| Constructor and Description |
|---|
PDS3Label()
Empty Constructor, set everything later on
|
PDS3Label(Document document)
Constructor
Construct the PDS3label using a DOM object from somewhere else
|
PDS3Label(String filePath)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Object |
get(String key)
Retrieves the value for the specified key
|
String |
getContext()
Returns the variable to be used in the Velocity Template Engine to map to
this object.
|
String |
getFilePath() |
ImageInputStream |
getImageInputStream() |
Long |
getImageStartByte() |
List |
getList(String key) |
List<String> |
getPDSObjectNames()
Added per request from mcayanan in order to be able to loop through the
PDS Objects that can be found in the label
|
String |
getReaderFormat() |
String |
getUnits(String key) |
void |
setFilePath(String filePath) |
void |
setImageInputStream(ImageInputStream iis) |
void |
setImageStartByte(Long x) |
void |
setIncludePaths(List<String> i)
Set the paths to search for files referenced by pointers.
|
void |
setMappings() |
void |
setParameters(PDSObject pdsObject) |
void |
setParserType(ParserType type) |
void |
setReaderFormat(String format) |
String |
toString() |
public static final String CONTEXT
public ContextUtil ctxtUtil
public PDS3Label()
public PDS3Label(Document document)
document - public PDS3Label(String filePath)
filePath - public final Object get(String key)
get in interface PDSObjectContextkey - public final String getContext()
getContext in interface PDSContextpublic final String getFilePath()
getFilePath in interface PDSObjectpublic void setFilePath(String filePath)
setFilePath in interface PDSObjectpublic final List getList(String key) throws TemplateException
getList in interface PDSObjectTemplateExceptionpublic final String getUnits(String key)
getUnits in interface PDSObjectContextpublic final void setParameters(PDSObject pdsObject)
setParameters in interface PDSObjectContextpublic void setImageInputStream(ImageInputStream iis)
public ImageInputStream getImageInputStream()
getImageInputStream in interface PDSObjectpublic void setReaderFormat(String format)
setReaderFormat in interface PDSObjectpublic String getReaderFormat()
getReaderFormat in interface PDSObjectpublic void setImageStartByte(Long x)
public Long getImageStartByte()
getImageStartByte in interface PDSObjectpublic void setMappings()
setMappings in interface PDSObjectContextpublic final List<String> getPDSObjectNames()
public void setParserType(ParserType type)
Copyright © 2020. All rights reserved.