public class ImageWrapper
extends java.lang.Object
Constructor and Description |
---|
ImageWrapper(java.lang.String path)
ctor
|
ImageWrapper(java.lang.String path,
visad.DateTime dttm)
ctor
|
ImageWrapper(java.lang.String path,
visad.DateTime dttm,
GeoLocationInfo bounds)
ctor
|
ImageWrapper(java.lang.String path,
visad.DateTime dttm,
GeoLocationInfo bounds,
double[] position)
ctor
|
Modifier and Type | Method and Description |
---|---|
void |
deleteFile()
delete the image file
|
GeoLocationInfo |
getBounds()
Get the Bounds property.
|
visad.DateTime |
getDttm()
Get the Dttm property.
|
java.lang.String |
getPath()
Get the Path property.
|
double[] |
getPosition()
Get the Position property.
|
java.util.Hashtable |
getProperties()
Get the Properties property.
|
java.lang.Object |
getProperty(java.lang.Object key)
_more_
|
static java.util.List<java.lang.String> |
makeFileList(java.util.List<ImageWrapper> wrappers)
utility to return a list of the image paths in the given list of ImageWrappers
|
static java.util.List<ImageWrapper> |
makeImageWrappers(java.util.List source)
utility to create a list of ImageWrapper from a list of file names
|
void |
setBounds(GeoLocationInfo value)
Set the Bounds property.
|
void |
setDttm(visad.DateTime value)
Set the Dttm property.
|
void |
setPath(java.lang.String value)
Set the Path property.
|
void |
setPosition(double[] value)
Set the Position property.
|
void |
setProperties(java.util.Hashtable value)
Set the Properties property.
|
java.lang.String |
toString()
to string
|
public ImageWrapper(java.lang.String path)
path
- the image pathpublic ImageWrapper(java.lang.String path, visad.DateTime dttm)
path
- image file pathdttm
- datepublic ImageWrapper(java.lang.String path, visad.DateTime dttm, GeoLocationInfo bounds)
path
- image pathdttm
- date timebounds
- boundspublic ImageWrapper(java.lang.String path, visad.DateTime dttm, GeoLocationInfo bounds, double[] position)
path
- image pathdttm
- date/timebounds
- boundsposition
- viewpoint positionpublic static java.util.List<java.lang.String> makeFileList(java.util.List<ImageWrapper> wrappers)
wrappers
- image wrapperspublic static java.util.List<ImageWrapper> makeImageWrappers(java.util.List source)
source
- list of file namespublic java.lang.String toString()
toString
in class java.lang.Object
public void deleteFile()
public void setPath(java.lang.String value)
value
- The new value for Pathpublic java.lang.String getPath()
public void setDttm(visad.DateTime value)
value
- The new value for Dttmpublic visad.DateTime getDttm()
public void setBounds(GeoLocationInfo value)
value
- The new value for Boundspublic GeoLocationInfo getBounds()
public void setPosition(double[] value)
value
- The new value for Positionpublic double[] getPosition()
public void setProperties(java.util.Hashtable value)
value
- The new value for Propertiespublic java.util.Hashtable getProperties()
public java.lang.Object getProperty(java.lang.Object key)
key
- _more_