Java Doc for GridCoverageReader.java in  » GIS » deegree » org » deegree » model » coverage » grid » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » GIS » deegree » org.deegree.model.coverage.grid 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.deegree.model.coverage.grid.GridCoverageReader

All known Subclasses:   org.deegree.model.coverage.grid.AbstractGridCoverageReader,
GridCoverageReader
public interface GridCoverageReader (Code)
Support for reading grid coverages out of a persisten store. Instance of GridCoverageReader are obtained through a call to GridCoverageExchange.getReader(Object) . Grid coverages are usually read from the input stream in a sequential order.
author:
   OpenGIS® consortium
version:
   2.0
See Also:   GridCoverageExchange.getReader(Object)
See Also:   javax.imageio.ImageReader




Method Summary
 voiddispose()
     Allows any resources held by this object to be released.
 StringgetCurrentSubname()
    
 FormatgetFormat()
    
 String[]getMetadataNames()
     Returns the list of metadata keywords associated with the as a whole (not associated with any particular grid coverage).
 StringgetMetadataValue(String name)
     Retrieve the metadata value for a given metadata name.
Parameters:
  name - Metadata keyword for which to retrieve metadata.
 ObjectgetSource()
     the input source.
 String[]listSubNames()
     Retrieve the list of grid coverages contained within the .
 GridCoverageread(GeneralParameterValueIm[] parameters)
     Read the grid coverage from the current stream position, and move to the next grid coverage.
Parameters:
  parameters - An optional set of parameters.
 voidsetCurrentSubname(String name)
    
Parameters:
  name - for the next grid coverage to within the.
 voidsetMetadataValue(String name, String value)
     Sets the metadata value for a given metadata name.



Method Detail
dispose
void dispose() throws IOException(Code)
Allows any resources held by this object to be released. The result of calling any other method subsequent to a call to this method is undefined. It is important for applications to call this method when they know they will no longer be using this GridCoverageReader. Otherwise, the reader may continue to hold on to resources indefinitely.
throws:
  IOException - if an error occured while disposing resources (for example while closing a file).



getCurrentSubname
String getCurrentSubname() throws IOException(Code)
the name for the next grid coverage to be from the.
throws:
  IOException - if an error occurs during reading.



getFormat
Format getFormat()(Code)
the format handled by this GridCoverageReader.



getMetadataNames
String[] getMetadataNames() throws IOException(Code)
Returns the list of metadata keywords associated with the as a whole (not associated with any particular grid coverage). If no metadata is available, the array will be empty. The list of metadata keywords for the input source.
throws:
  IOException - if an error occurs during reading.



getMetadataValue
String getMetadataValue(String name) throws IOException, MetadataNameNotFoundException(Code)
Retrieve the metadata value for a given metadata name.
Parameters:
  name - Metadata keyword for which to retrieve metadata. The metadata value for the given metadata name. Should be one of the name returned byGridCoverageReader.getMetadataNames.
throws:
  IOException - if an error occurs during reading.
throws:
  MetadataNameNotFoundException - if there is no value for the specified metadata name.



getSource
Object getSource()(Code)
the input source. This is the object passed to theGridCoverageExchange.getReader(Object) method. It can be ajava.lang.String, an java.io.InputStream, ajava.nio.channels.FileChannel, whatever.



listSubNames
String[] listSubNames() throws IOException(Code)
Retrieve the list of grid coverages contained within the . Each grid can have a different coordinate system, number of dimensions and grid geometry. For example, a HDF-EOS file (GRID.HDF) contains 6 grid coverages each having a different projection. An empty array will be returned if no sub names exist. The list of grid coverages contained within the input source.
throws:
  IOException - if an error occurs during reading.



read
GridCoverage read(GeneralParameterValueIm[] parameters) throws InvalidParameterNameException, InvalidParameterValueException, ParameterNotFoundException, IOException(Code)
Read the grid coverage from the current stream position, and move to the next grid coverage.
Parameters:
  parameters - An optional set of parameters. Should be any or all of the parameters returned byFormat.getReadParameters. A new from the input source.
throws:
  InvalidParameterNameException - if a parameter in parameters doesn't have a recognized name.
throws:
  InvalidParameterValueException - if a parameter in parameters doesn't have a valid value.
throws:
  ParameterNotFoundException - if a parameter was required for the operation but was not provided in theparameters list.
throws:
  CannotCreateGridCoverageException - if the coverage can't be created for a logical reason (for example an unsupportedformat, or an inconsistency found in the data).
throws:
  IOException - if a read operation failed for some other input/output reason, includingjava.io.FileNotFoundException if no file with the given namecan be found, or javax.imageio.IIOException if an error was thrown by theunderlying image library.



setCurrentSubname
void setCurrentSubname(String name) throws IOException(Code)

Parameters:
  name - for the next grid coverage to within the. The subname can been fetch later at readingtime.
throws:
  IOException - if an error occurs during writing.



setMetadataValue
void setMetadataValue(String name, String value) throws IOException, MetadataNameNotFoundException(Code)
Sets the metadata value for a given metadata name.
Parameters:
  name - Metadata keyword for which to set the metadata.
Parameters:
  value - The metadata value for the given metadata name.
throws:
  IOException - if an error occurs during writing.
throws:
  MetadataNameNotFoundException - if the specified metadata name is not handled for this format.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.