|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.data.coverage.grid.file.FileMetadataImpl
A simple implementation of FileMetadata
Constructor Summary | |
FileMetadataImpl(java.io.File file,
org.opengis.coverage.grid.Format format)
Create a FileMetadata Instance |
Method Summary | |
java.lang.String |
getExtension()
Returns the extension of the file. |
java.io.File |
getFile()
|
org.opengis.coverage.grid.Format |
getFormat()
Returns the format of the file if it is known; |
long |
getLastModified()
Returns the date the file was last modified. |
java.lang.String |
getName()
Returns the File name |
java.lang.String |
getPath()
Returns the path of the file. |
void |
setFormat(org.opengis.coverage.grid.Format format)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FileMetadataImpl(java.io.File file, org.opengis.coverage.grid.Format format)
file
- the file the metadata will describeformat
- the format type of the file
"unkown" is the format is unknown
Static fields should be usedMethod Detail |
public java.lang.String getName()
FileMetadata
getName
in interface FileMetadata
org.opengis.catalog.MetadataEntity#getName()
public java.lang.String getExtension()
FileMetadata
getExtension
in interface FileMetadata
public java.io.File getFile()
public org.opengis.coverage.grid.Format getFormat()
FileMetadata
getFormat
in interface FileMetadata
public long getLastModified()
FileMetadata
getLastModified
in interface FileMetadata
public java.lang.String getPath()
FileMetadata
getPath
in interface FileMetadata
public void setFormat(org.opengis.coverage.grid.Format format)
format
- The format to set.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |