|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RandomAccessFileFactory
This interface defines an interface for creating RandomAccessFile
:s.
It is used to open files with certain properties without having to make the
code opening the stream take care of that.
A factory instance should only be used once and then discarded.
Method Summary | |
---|---|
RandomAccessFile |
createRandomAccessFile(File file,
RandomAccessMode mode)
Create a RandomAccessFile on the file. |
Method Detail |
---|
RandomAccessFile createRandomAccessFile(File file, RandomAccessMode mode) throws FileNotFoundException
RandomAccessFile
on the file.
file
- The file to open.mode
- The file mode.
RandomAccessFile
.
FileNotFoundException
- If the file is not found.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |