@Override protected void doAttach() throws Exception { this.getAbstractFileSystem().attach(this); }
/** * @param name The name of the file. * @param fs The FileSystem. */ protected RamFileObject(final AbstractFileName name, final RamFileSystem fs) { super(name, fs); this.getAbstractFileSystem().attach(this); }
@Override protected void doAttach() throws Exception { this.getAbstractFileSystem().attach(this); }
/** * @param name The name of the file. * @param fs The FileSystem. */ protected RamFileObject(final AbstractFileName name, final RamFileSystem fs) { super(name, fs); this.getAbstractFileSystem().attach(this); }
@Override protected void doAttach() throws Exception { this.getAbstractFileSystem().attach(this); }
/** * @param name * The name of the file. * @param fs * The FileSystem. */ protected RamFileObject(final AbstractFileName name, final RamFileSystem fs) { super(name, fs); this.getAbstractFileSystem().attach(this); }
@Override protected void doAttach() throws Exception { this.getAbstractFileSystem().attach(this); }
/** * @param name The name of the file. * @param fs The FileSystem. */ protected RamFileObject(final AbstractFileName name, final RamFileSystem fs) { super(name, fs); this.getAbstractFileSystem().attach(this); }
private void save() throws FileSystemException { this.getAbstractFileSystem().save(this); }
@Override protected void doRename(final FileObject newFile) throws Exception { final RamFileObject newRamFileObject = (RamFileObject) FileObjectUtils.getAbstractFileObject(newFile); getAbstractFileSystem().rename(this, newRamFileObject); }
@Override protected void doRename(final FileObject newFile) throws Exception { final RamFileObject newRamFileObject = (RamFileObject) FileObjectUtils.getAbstractFileObject(newFile); getAbstractFileSystem().rename(this, newRamFileObject); }
@Override protected String[] doListChildren() throws Exception { return this.getAbstractFileSystem().listChildren(this.getName()); }
@Override protected void doRename(final FileObject newFile) throws Exception { final RamFileObject newRamFileObject = (RamFileObject) FileObjectUtils.getAbstractFileObject(newFile); getAbstractFileSystem().rename(this, newRamFileObject); }
@Override protected String[] doListChildren() throws Exception { return this.getAbstractFileSystem().listChildren(this.getName()); }
@Override protected void doRename(final FileObject newFile) throws Exception { final RamFileObject newRamFileObject = (RamFileObject) FileObjectUtils.getAbstractFileObject(newFile); getAbstractFileSystem().rename(this, newRamFileObject); }
@Override protected String[] doListChildren() throws Exception { return this.getAbstractFileSystem().listChildren(this.getName()); }
@Override protected void doDelete() throws Exception { if (this.isContentOpen()) { throw new FileSystemException(this.getName() + " cannot be deleted while the file is openg"); } getAbstractFileSystem().delete(this); }
@Override protected void doDelete() throws Exception { if (this.isContentOpen()) { throw new FileSystemException(this.getName() + " cannot be deleted while the file is openg"); } getAbstractFileSystem().delete(this); }
@Override protected void doDelete() throws Exception { if (this.isContentOpen()) { throw new FileSystemException(this.getName() + " cannot be deleted while the file is openg"); } getAbstractFileSystem().delete(this); }
@Override protected void doDelete() throws Exception { if (this.isContentOpen()) { throw new FileSystemException(this.getName() + " cannot be deleted while the file is openg"); } getAbstractFileSystem().delete(this); }