File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes available(),skip() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "available(),skip()" Watch "available(),skip()" New topic
Author

available(),skip()

Niyas Ahmed Sheikh
Ranch Hand

Joined: Jun 15, 2005
Posts: 129

Output:
626616616616616616616616616616616
class Fil

In the above program, what is the purpose of using available(), skip() and read(byte[],int,int). Please explain the program.
Stuart Gray
Ranch Hand

Joined: Apr 21, 2005
Posts: 410
Before you can answer that specific question, you need to know what these methods do individually. The API docs can help you with that.
[ September 02, 2005: Message edited by: Stuart Gray ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: available(),skip()