<h2>org.das2.util.filesystem.VFSFileObject</h2><p>This class is part of a wrapper for the Apache Commons VFS. NOTE: At the moment, many situations where the Commons VFS throws a FileSystemException will result in a RuntimeException from this code. A better way of handling these exceptions should probably be found.</p> <hr> <a name="canRead"></a> <h2>canRead</h2> canRead( ) → boolean <p></p> <h3>Returns:</h3> boolean <br><br> <a href="https://github.com/autoplot/dev/search?q=canRead&unscoped_q=canRead">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/filesystem/VFSFileObject.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/filesystem/VFSFileObject.html#canRead">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/filesystem/VFSFileObject.java">[view source]</a> <br> <br> <hr> <a name="canWrite"></a> <h2>canWrite</h2> canWrite( ) → boolean <p></p> <h3>Returns:</h3> boolean <br><br> <a href="https://github.com/autoplot/dev/search?q=canWrite&unscoped_q=canWrite">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/filesystem/VFSFileObject.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/filesystem/VFSFileObject.html#canWrite">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/filesystem/VFSFileObject.java">[view source]</a> <br> <br> <hr> <a name="close"></a> <h2>close</h2> close( ) → void <p></p> <h3>Returns:</h3> void (returns nothing) <br><br> <a href="https://github.com/autoplot/dev/search?q=close&unscoped_q=close">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/filesystem/VFSFileObject.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/filesystem/VFSFileObject.html#close">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/filesystem/VFSFileObject.java">[view source]</a> <br> <br> <hr> <a name="createFile"></a> <h2>createFile</h2> createFile( ) → void <p>Create the file named by this VFSFileObject. Also creates any necessary ancestor folders. Does nothing if file already exists and is a file (not a folder).</p> <h3>Returns:</h3> void (returns nothing) <br><br> <a href="https://github.com/autoplot/dev/search?q=createFile&unscoped_q=createFile">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/filesystem/VFSFileObject.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/filesystem/VFSFileObject.html#createFile">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/filesystem/VFSFileObject.java">[view source]</a> <br> <br> <hr> <a name="createFolder"></a> <h2>createFolder</h2> createFolder( ) → void <p>Create a folder named by this VFSFileObject. This method will also create any necessary ancestor folders. Does nothing if the folder already exists.</p> <h3>Returns:</h3> void (returns nothing) <br><br> <a href="https://github.com/autoplot/dev/search?q=createFolder&unscoped_q=createFolder">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/filesystem/VFSFileObject.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/filesystem/VFSFileObject.html#createFolder">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/filesystem/VFSFileObject.java">[view source]</a> <br> <br> <hr> <a name="delete"></a> <h2>delete</h2> delete( ) → void <p>Deletes the file. Does nothing if the file doesn't exist or is a non-empty folder.</p> <h3>Returns:</h3> void (returns nothing) <br><br> <a href="https://github.com/autoplot/dev/search?q=delete&unscoped_q=delete">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/filesystem/VFSFileObject.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/filesystem/VFSFileObject.html#delete">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/filesystem/VFSFileObject.java">[view source]</a> <br> <br> <hr> <a name="exists"></a> <h2>exists</h2> exists( ) → boolean <p></p> <h3>Returns:</h3> boolean <br><br> <a href="https://github.com/autoplot/dev/search?q=exists&unscoped_q=exists">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/filesystem/VFSFileObject.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/filesystem/VFSFileObject.html#exists">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/filesystem/VFSFileObject.java">[view source]</a> <br> <br> <hr> <a name="getChannel"></a> <h2>getChannel</h2> getChannel( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/util/monitor/ProgressMonitor.html'>ProgressMonitor</a> monitor ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/nio/channels/ReadableByteChannel.html'>java.nio.channels.ReadableByteChannel</a> <p></p> <h3>Parameters</h3> monitor - a ProgressMonitor <h3>Returns:</h3> java.nio.channels.ReadableByteChannel <br><br> <a href="https://github.com/autoplot/dev/search?q=getChannel&unscoped_q=getChannel">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/filesystem/VFSFileObject.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/filesystem/VFSFileObject.html#getChannel">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/filesystem/VFSFileObject.java">[view source]</a> <br> <br> <hr> <a name="getChildren"></a> <h2>getChildren</h2> getChildren( ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/util/filesystem/FileObject.html'>org.das2.util.filesystem.FileObject[]</a> <p></p> <h3>Returns:</h3> org.das2.util.filesystem.FileObject[] <br><br> <a href="https://github.com/autoplot/dev/search?q=getChildren&unscoped_q=getChildren">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/filesystem/VFSFileObject.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/filesystem/VFSFileObject.html#getChildren">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/filesystem/VFSFileObject.java">[view source]</a> <br> <br> <hr> <a name="getFile"></a> <h2>getFile</h2> getFile( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/util/monitor/ProgressMonitor.html'>ProgressMonitor</a> monitor ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/io/File.html'>java.io.File</a> <p></p> <h3>Parameters</h3> monitor - a ProgressMonitor <h3>Returns:</h3> java.io.File <br><br> <a href="https://github.com/autoplot/dev/search?q=getFile&unscoped_q=getFile">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/filesystem/VFSFileObject.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/filesystem/VFSFileObject.html#getFile">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/filesystem/VFSFileObject.java">[view source]</a> <br> <br> <hr> <a name="getInputStream"></a> <h2>getInputStream</h2> getInputStream( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/util/monitor/ProgressMonitor.html'>ProgressMonitor</a> monitor ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html'>java.io.InputStream</a> <p></p> <h3>Parameters</h3> monitor - a ProgressMonitor <h3>Returns:</h3> java.io.InputStream <br><br> <a href="https://github.com/autoplot/dev/search?q=getInputStream&unscoped_q=getInputStream">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/filesystem/VFSFileObject.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/filesystem/VFSFileObject.html#getInputStream">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/filesystem/VFSFileObject.java">[view source]</a> <br> <br> <hr> <a name="getNameExt"></a> <h2>getNameExt</h2> getNameExt( ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> <p></p> <h3>Returns:</h3> java.lang.String <br><br> <a href="https://github.com/autoplot/dev/search?q=getNameExt&unscoped_q=getNameExt">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/filesystem/VFSFileObject.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/filesystem/VFSFileObject.html#getNameExt">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/filesystem/VFSFileObject.java">[view source]</a> <br> <br> <hr> <a name="getOutputStream"></a> <h2>getOutputStream</h2> getOutputStream( boolean append ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html'>java.io.OutputStream</a> <p></p> <h3>Parameters</h3> append - a boolean <h3>Returns:</h3> java.io.OutputStream <br><br> <a href="https://github.com/autoplot/dev/search?q=getOutputStream&unscoped_q=getOutputStream">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/filesystem/VFSFileObject.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/filesystem/VFSFileObject.html#getOutputStream">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/filesystem/VFSFileObject.java">[view source]</a> <br> <br> <hr> <a name="getParent"></a> <h2>getParent</h2> getParent( ) → <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/util/filesystem/FileObject.html'>org.das2.util.filesystem.FileObject</a> <p></p> <h3>Returns:</h3> org.das2.util.filesystem.FileObject <br><br> <a href="https://github.com/autoplot/dev/search?q=getParent&unscoped_q=getParent">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/filesystem/VFSFileObject.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/filesystem/VFSFileObject.html#getParent">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/filesystem/VFSFileObject.java">[view source]</a> <br> <br> <hr> <a name="getSize"></a> <h2>getSize</h2> getSize( ) → long <p></p> <h3>Returns:</h3> long <br><br> <a href="https://github.com/autoplot/dev/search?q=getSize&unscoped_q=getSize">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/filesystem/VFSFileObject.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/filesystem/VFSFileObject.html#getSize">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/filesystem/VFSFileObject.java">[view source]</a> <br> <br> <hr> <a name="isData"></a> <h2>isData</h2> isData( ) → boolean <p></p> <h3>Returns:</h3> boolean <br><br> <a href="https://github.com/autoplot/dev/search?q=isData&unscoped_q=isData">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/filesystem/VFSFileObject.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/filesystem/VFSFileObject.html#isData">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/filesystem/VFSFileObject.java">[view source]</a> <br> <br> <hr> <a name="isFolder"></a> <h2>isFolder</h2> isFolder( ) → boolean <p></p> <h3>Returns:</h3> boolean <br><br> <a href="https://github.com/autoplot/dev/search?q=isFolder&unscoped_q=isFolder">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/filesystem/VFSFileObject.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/filesystem/VFSFileObject.html#isFolder">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/filesystem/VFSFileObject.java">[view source]</a> <br> <br> <hr> <a name="isLocal"></a> <h2>isLocal</h2> isLocal( ) → boolean <p></p> <h3>Returns:</h3> boolean <br><br> <a href="https://github.com/autoplot/dev/search?q=isLocal&unscoped_q=isLocal">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/filesystem/VFSFileObject.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/filesystem/VFSFileObject.html#isLocal">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/filesystem/VFSFileObject.java">[view source]</a> <br> <br> <hr> <a name="isReadOnly"></a> <h2>isReadOnly</h2> isReadOnly( ) → boolean <p></p> <h3>Returns:</h3> boolean <br><br> <a href="https://github.com/autoplot/dev/search?q=isReadOnly&unscoped_q=isReadOnly">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/filesystem/VFSFileObject.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/filesystem/VFSFileObject.html#isReadOnly">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/filesystem/VFSFileObject.java">[view source]</a> <br> <br> <hr> <a name="isRoot"></a> <h2>isRoot</h2> isRoot( ) → boolean <p></p> <h3>Returns:</h3> boolean <br><br> <a href="https://github.com/autoplot/dev/search?q=isRoot&unscoped_q=isRoot">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/filesystem/VFSFileObject.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/filesystem/VFSFileObject.html#isRoot">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/filesystem/VFSFileObject.java">[view source]</a> <br> <br> <hr> <a name="lastModified"></a> <h2>lastModified</h2> lastModified( ) → <a href='https://docs.oracle.com/javase/8/docs/api/java/util/Date.html'>java.util.Date</a> <p></p> <h3>Returns:</h3> java.util.Date <br><br> <a href="https://github.com/autoplot/dev/search?q=lastModified&unscoped_q=lastModified">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/filesystem/VFSFileObject.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/filesystem/VFSFileObject.html#lastModified">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/filesystem/VFSFileObject.java">[view source]</a> <br> <br>