Home | History | Annotate | Download | only in util

Lines Matching defs:readOnly

44     private final boolean readOnly;
52 * @param readOnly if the file should be opened in read-only mode, which
57 public FileDisk(File file, boolean readOnly) throws FileNotFoundException {
60 this.readOnly = readOnly;
62 final String modeString = readOnly ? "r" : "rw"; //NOI18N
67 public FileDisk(RandomAccessFile raf, FileChannel fc, boolean readOnly) {
71 this.readOnly = readOnly;
74 private FileDisk(RandomAccessFile raf, boolean readOnly) {
78 this.readOnly = readOnly;
129 if (this.readOnly) throw new ReadOnlyException();
178 return this.readOnly;