openFileInput(FileName) does not support mark() and reset()

Put your problem here if it does not fit any of the other categories.

openFileInput(FileName) does not support mark() and reset()

Postby beaster » Fri Oct 24, 2008 12:14 pm

I open file "read.txt". He is in /data/data/$packageName/files/

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. FileInputStream fc= openFileInput("read.txt");
  2.  
  3. is=new DataInputStream(fc);
  4.  
  5.  
  6.  
  7. is.reset()  - not support!!!!!!!
  8.  
  9. fc.markSupported() - return false
Parsed in 0.030 seconds, using GeSHi 1.0.8.4


Help!!!!!!!!!

I need is.reset(). What can I do?
beaster
Junior Developer
Junior Developer
 
Posts: 16
Joined: Tue Oct 07, 2008 10:43 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Exabot [Bot] and 12 guests