Java Doc for IInputStream.java in  » PDF » PDFClown-0.0.5 » it » stefanochizzolini » clown » bytes » 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 » PDF » PDFClown 0.0.5 » it.stefanochizzolini.clown.bytes 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


it.stefanochizzolini.clown.bytes.IInputStream

All known Subclasses:   it.stefanochizzolini.clown.bytes.FileInputStream,
IInputStream
public interface IInputStream (Code)
Input stream.

Its pivotal concept is the access pointer.


version:
   0.0.4




Method Summary
 ByteOrdergetByteOrder()
     Gets the byte order.
 longgetLength()
     Gets the used buffer size.
 longgetPosition()
     Gets the pointer position.
 inthashCode()
     Gets the hash representation of the sequence.
 voidread(byte[] data)
     Reads a sequence of bytes from the stream and advances the position within the stream.
 voidread(byte[] data, int offset, int length)
     Reads a sequence of bytes from the stream and advances the position within the stream.
 bytereadByte()
     Reads a byte from the stream and advances the position within the stream.
 intreadInt()
     Reads an integer from the stream and advances the position within the stream.
 StringreadLine()
     Reads the next line of text.
 shortreadShort()
     Reads a short integer from the stream and advances the position within the stream.
 StringreadString(int length)
     Reads a string from the stream and advances the position within the stream.
Parameters:
  length - Number of bytes to read.
 intreadUnsignedByte()
     Reads an unsigned byte integer from the stream and advances the position within the stream.
 intreadUnsignedShort()
     Reads an unsigned short integer from the stream and advances the position within the stream.
 voidseek(long position)
     Sets the pointer absolute position.
 voidsetByteOrder(ByteOrder value)
     Sets the byte order.
 voidsetPosition(long value)
     Sets the pointer position.
 voidskip(long offset)
     Sets the pointer relative position.
 byte[]toByteArray()
     Gets the buffer data copied to a newly-allocated byte array.



Method Detail
getByteOrder
ByteOrder getByteOrder()(Code)
Gets the byte order.



getLength
long getLength()(Code)
Gets the used buffer size.



getPosition
long getPosition()(Code)
Gets the pointer position.



hashCode
int hashCode()(Code)
Gets the hash representation of the sequence.



read
void read(byte[] data) throws EOFException(Code)
Reads a sequence of bytes from the stream and advances the position within the stream.
Parameters:
  data - Target byte array.



read
void read(byte[] data, int offset, int length) throws EOFException(Code)
Reads a sequence of bytes from the stream and advances the position within the stream.
Parameters:
  data - Target byte array.
Parameters:
  offset - Location in the byte array at which storing begins.
Parameters:
  length - Number of bytes to copy.



readByte
byte readByte() throws EOFException(Code)
Reads a byte from the stream and advances the position within the stream. Byte from the stream.



readInt
int readInt() throws EOFException(Code)
Reads an integer from the stream and advances the position within the stream. Integer from the stream.



readLine
String readLine() throws EOFException(Code)
Reads the next line of text. String from the stream.



readShort
short readShort() throws EOFException(Code)
Reads a short integer from the stream and advances the position within the stream. Short integer from the stream.



readString
String readString(int length) throws EOFException(Code)
Reads a string from the stream and advances the position within the stream.
Parameters:
  length - Number of bytes to read. String from the stream.



readUnsignedByte
int readUnsignedByte() throws EOFException(Code)
Reads an unsigned byte integer from the stream and advances the position within the stream. Unsigned byte integer from the stream.



readUnsignedShort
int readUnsignedShort() throws EOFException(Code)
Reads an unsigned short integer from the stream and advances the position within the stream. Unsigned short integer from the stream.



seek
void seek(long position)(Code)
Sets the pointer absolute position.



setByteOrder
void setByteOrder(ByteOrder value)(Code)
Sets the byte order.



setPosition
void setPosition(long value)(Code)
Sets the pointer position.



skip
void skip(long offset)(Code)
Sets the pointer relative position.



toByteArray
byte[] toByteArray()(Code)
Gets the buffer data copied to a newly-allocated byte array.



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