Java Doc for GridCoverageWriter.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.GridCoverageWriter

All known Subclasses:   org.deegree.model.coverage.grid.AbstractGridCoverageWriter,
GridCoverageWriter
public interface GridCoverageWriter (Code)
Support for writing grid coverages into a persistent store. Instance of GridCoverageWriter are obtained through a call to GridCoverageExchange.getWriter . Grid coverages are usually added to the output stream in a sequential order.
author:
   OpenGIS® consortium
author:
   last edited by: $Author: apoth $
version:
   $Revision: 9343 $, $Date: 2007-12-27 05:30:32 -0800 (Thu, 27 Dec 2007) $
See Also:   GridCoverageExchange.getWriter
See Also:   javax.imageio.ImageWriter




Method Summary
 voiddispose()
     Allows any resources held by this object to be released.
 StringgetCurrentSubname()
     Returns the name for the next grid coverage to be to the .
 ObjectgetDestination()
     Returns the output destination.
 FormatgetFormat()
     Returns the format handled by this GridCoverageWriter.
 String[]getMetadataNames()
     Returns the list of metadata keywords associated with the as a whole (not associated with any particular grid coverage).
 ObjectgetMetadataValue(String name)
     Retrieve the metadata value for a given metadata name.
Parameters:
  name - Metadata keyword for which to retrieve metadata.
 String[]listSubNames()
     Retrieve the list of grid coverages contained within the .
 voidsetCurrentSubname(String name)
     Set the name for the next grid coverage to within the .
 voidsetMetadataValue(String name, String value)
     Sets the metadata value for a given metadata name.
 voidwrite(GridCoverage coverage, GeneralParameterValueIm[] parameters)
     Writes the specified grid coverage.
Parameters:
  coverage - The to write.
Parameters:
  parameters - An optional set of parameters.



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 GridCoverageWriter. Otherwise, the writer may continue to hold on to resources indefinitely.
throws:
  IOException - if an error occured while disposing resources (for example while flushing dataand closing a file).



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



getDestination
Object getDestination()(Code)
Returns the output destination. This is the object passed to the GridCoverageExchange.getWriter method. It can be a java.lang.String , an java.io.OutputStream , a java.nio.channels.FileChannel , etc.



getFormat
Format getFormat()(Code)
Returns the format handled by this GridCoverageWriter. the format handled by this GridCoverageWriter.



getMetadataNames
String[] getMetadataNames()(Code)
Returns the list of metadata keywords associated with the as a whole (not associated with any particular grid coverage). If no metadata is allowed, the array will be empty. The list of metadata keywords for the output destination.



getMetadataValue
Object 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 byGridCoverageWriter.getMetadataNames.
throws:
  IOException - if an error occurs during reading.
throws:
  MetadataNameNotFoundException - if there is no value for the specified metadata name.



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.



setCurrentSubname
void setCurrentSubname(String name) throws IOException(Code)
Set the name for the next grid coverage to within the . The subname can been fetch later at reading time.
Parameters:
  name -
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.



write
void write(GridCoverage coverage, GeneralParameterValueIm[] parameters) throws InvalidParameterNameException, InvalidParameterValueException, ParameterNotFoundException, IOException(Code)
Writes the specified grid coverage.
Parameters:
  coverage - The to write.
Parameters:
  parameters - An optional set of parameters. Should be any or all of the parameters returned byFormat.getWriteParameters.
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:
  FileFormatNotCompatibleWithGridCoverageException - if the grid coverage can't be exported in the.
throws:
  IOException - if the export failed for some other input/output reason, includingjavax.imageio.IIOException if an error was thrown by the underlying imagelibrary.



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