Java Doc for VPFInputStream.java in  » GIS » GeoTools-2.4.1 » org » geotools » data » vpf » io » 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 » GeoTools 2.4.1 » org.geotools.data.vpf.io 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.geotools.data.vpf.io.VPFInputStream

All known Subclasses:   org.geotools.data.vpf.io.VariableIndexInputStream,  org.geotools.data.vpf.io.SpatialIndexInputStream,
VPFInputStream
abstract public class VPFInputStream implements FileConstants,DataTypesDefinition(Code)
VPFInputStream.java Created: Mon Feb 24 22:39:57 2003
author:
   Artur Hefczyc
author:
   Knut-Erik Johnsen, Project OneMap
version:
   $Id: VPFInputStream.java 24925 2007-03-27 20:12:08Z jgarnett $


Field Summary
protected  VPFHeaderheader
     Describe variable header here.
protected  RandomAccessFileinput
     Describe variable input here.
protected  StringstreamFile
     Describe variable streamFile here.

Constructor Summary
public  VPFInputStream(String file)
     Creates a new VPFInputStream instance.
public  VPFInputStream(String file, char byteOrder)
     Creates a new VPFInputStream instance.

Method Summary
public  intavailableRows()
     Describe availableRows method here.
public  voidclose()
     Describe close method here.
protected  voidcondeb(String msg)
     Describe condeb method here.
public  chargetByteOrder()
     Get the ByteOrder value.
public  VPFHeadergetHeader()
     Describe getHeader method here.
public  StringgetVariableIndexFileName()
     Describe getVariableIndexFileName method here.
public  ListreadAllRows()
     Describe readAllRows method here.
protected  charreadChar()
     Describe readChar method here.
protected  DirectPosition[]readCoord2DDouble(int instancesCount)
    
protected  DirectPosition[]readCoord2DFloat(int instancesCount)
    
protected  DirectPosition[]readCoord3DDouble(int instancesCount)
    
protected  DirectPosition[]readCoord3DFloat(int instancesCount)
    
protected  doublereadDouble()
     Describe readDouble method here.
protected  ObjectreadFixedSizeData(char dataType, int instancesCount)
     Describe readFixedSizeData method here.
protected  floatreadFloat()
     Describe readFloat method here.
abstract public  VPFHeaderreadHeader()
     Describe readHeader method here.
protected  intreadInteger()
     Describe readInteger method here.
protected  byte[]readNumber(int cnt)
     Describe readNumber method here.
abstract public  VPFRowreadRow()
     Describe readRow method here.
public  VPFRowreadRow(int index)
    
public  intreadRows(VPFRow[] rows)
    
public  intreadRows(VPFRow[] rows, int fromIndex)
     Describe readRows method here.
protected  shortreadShort()
     Describe readShort method here.
protected  StringreadString(String terminators)
     Describe readString method here.
protected  TripletIdreadTripletId()
    
protected  ObjectreadVariableSizeData(char dataType)
     Describe readVariableSizeData method here.
protected  voidseek(long pos)
     Describe seek method here.
public  voidsetByteOrder(char newByteOrder)
     Set the ByteOrder value.
public  voidsetPosition(long pos)
    
abstract public  inttableSize()
     Describe tableSize method here.
protected  voidunread(long bytes)
     Describe unread method here.

Field Detail
header
protected VPFHeader header(Code)
Describe variable header here.



input
protected RandomAccessFile input(Code)
Describe variable input here.



streamFile
protected String streamFile(Code)
Describe variable streamFile here.




Constructor Detail
VPFInputStream
public VPFInputStream(String file) throws IOException(Code)
Creates a new VPFInputStream instance.
Parameters:
  file - a String value
exception:
  IOException - if an error occurs



VPFInputStream
public VPFInputStream(String file, char byteOrder) throws IOException(Code)
Creates a new VPFInputStream instance.
Parameters:
  file - a String value
Parameters:
  byteOrder - a char value
exception:
  IOException - if an error occurs




Method Detail
availableRows
public int availableRows()(Code)
Describe availableRows method here. an int value



close
public void close() throws IOException(Code)
Describe close method here.
exception:
  IOException - if an error occurs



condeb
protected void condeb(String msg)(Code)
Describe condeb method here.
Parameters:
  msg - a String value



getByteOrder
public char getByteOrder()(Code)
Get the ByteOrder value. the ByteOrder value.



getHeader
public VPFHeader getHeader()(Code)
Describe getHeader method here. a VPFHeader value



getVariableIndexFileName
public String getVariableIndexFileName()(Code)
Describe getVariableIndexFileName method here. a String value



readAllRows
public List readAllRows() throws IOException(Code)
Describe readAllRows method here. a List value
exception:
  IOException - if an error occurs



readChar
protected char readChar() throws IOException(Code)
Describe readChar method here. a char value
exception:
  IOException - if an error occurs



readCoord2DDouble
protected DirectPosition[] readCoord2DDouble(int instancesCount) throws IOException(Code)



readCoord2DFloat
protected DirectPosition[] readCoord2DFloat(int instancesCount) throws IOException(Code)



readCoord3DDouble
protected DirectPosition[] readCoord3DDouble(int instancesCount) throws IOException(Code)



readCoord3DFloat
protected DirectPosition[] readCoord3DFloat(int instancesCount) throws IOException(Code)



readDouble
protected double readDouble() throws IOException(Code)
Describe readDouble method here. a double value
exception:
  IOException - if an error occurs



readFixedSizeData
protected Object readFixedSizeData(char dataType, int instancesCount) throws IOException(Code)
Describe readFixedSizeData method here.
Parameters:
  dataType - a char value
Parameters:
  instancesCount - an int value an Object value
exception:
  IOException - if an error occurs



readFloat
protected float readFloat() throws IOException(Code)
Describe readFloat method here. a float value
exception:
  IOException - if an error occurs



readHeader
abstract public VPFHeader readHeader() throws IOException(Code)
Describe readHeader method here. a VPFHeader value
exception:
  IOException - if an error occurs



readInteger
protected int readInteger() throws IOException(Code)
Describe readInteger method here. an int value
exception:
  IOException - if an error occurs



readNumber
protected byte[] readNumber(int cnt) throws IOException(Code)
Describe readNumber method here.
Parameters:
  cnt - an int value a byte[] value
exception:
  IOException - if an error occurs



readRow
abstract public VPFRow readRow() throws IOException(Code)
Describe readRow method here. a VPFRow value
exception:
  IOException - if an error occurs



readRow
public VPFRow readRow(int index) throws IOException(Code)
Method readRow is used to perform
Parameters:
  index - an int value a VPFRow value
exception:
  IOException - if an error occurs



readRows
public int readRows(VPFRow[] rows) throws IOException(Code)
Method readRows is used to perform
Parameters:
  rows - a VPFRow[] value an int value
exception:
  IOException - if an error occurs



readRows
public int readRows(VPFRow[] rows, int fromIndex) throws IOException(Code)
Describe readRows method here.
Parameters:
  rows - a VPFRow[] value
Parameters:
  fromIndex - an int value an int value
exception:
  IOException - if an error occurs



readShort
protected short readShort() throws IOException(Code)
Describe readShort method here. a short value
exception:
  IOException - if an error occurs



readString
protected String readString(String terminators) throws IOException(Code)
Describe readString method here.
Parameters:
  terminators - a String value a String value
exception:
  IOException - if an error occurs



readTripletId
protected TripletId readTripletId() throws IOException(Code)



readVariableSizeData
protected Object readVariableSizeData(char dataType) throws IOException(Code)
Describe readVariableSizeData method here.
Parameters:
  dataType - a char value an Object value
exception:
  IOException - if an error occurs



seek
protected void seek(long pos) throws IOException(Code)
Describe seek method here.
Parameters:
  pos - a long value
exception:
  IOException - if an error occurs



setByteOrder
public void setByteOrder(char newByteOrder)(Code)
Set the ByteOrder value.
Parameters:
  newByteOrder - The new ByteOrder value.



setPosition
public void setPosition(long pos) throws IOException(Code)
DOCUMENT ME!
Parameters:
  pos - DOCUMENT ME!
throws:
  IOException - DOCUMENT ME!



tableSize
abstract public int tableSize() throws IOException(Code)
Describe tableSize method here. an int value
exception:
  IOException - if an error occurs



unread
protected void unread(long bytes) throws IOException(Code)
Describe unread method here.
Parameters:
  bytes - a long value
exception:
  IOException - if an error occurs



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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