<h2>org.das2.util.filesystem.HttpFileSystem</h2><p>Make a web folder accessible.  This assumes listings are provided in html form by requesting links ending in a slash.
 For example, http://autoplot.org/data/pngwalk/.  Links to resources "outside" of the filesystem are not considered part of
 the filesystem.  Again, this assumes listings are HTML content, and I suspect this will be changing (xml+client-side-xslt)...</p>
<hr>
<a name="createHttpFileSystem"></a>
<h2>createHttpFileSystem</h2>
createHttpFileSystem( <a href='https://docs.oracle.com/javase/8/docs/api/java/net/URI.html'>java.net.URI</a> rooturi ) &rarr; <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/util/filesystem/HttpFileSystem.html'>org.das2.util.filesystem.HttpFileSystem</a>

<p>Create a filesystem from the URI.  Note "user@" will be added to the 
 URI if credentials are needed and added automatically.</p>

<h3>Parameters</h3>
rooturi - an URI

<h3>Returns:</h3>
the filesystem.
<br><br>
<a href="https://github.com/autoplot/dev/search?q=createHttpFileSystem&unscoped_q=createHttpFileSystem">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/filesystem/HttpFileSystem.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/filesystem/HttpFileSystem.html#createHttpFileSystem">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/filesystem/HttpFileSystem.java">[view source]</a>
<br>
<br>
<hr>
<a name="isDirectory"></a>
<h2>isDirectory</h2>
isDirectory( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> filename ) &rarr; boolean

<p>dumb method looks for / in parent directory's listing.  Since we have
 to list the parent, then IOException can be thrown.</p>

<h3>Parameters</h3>
filename - a String

<h3>Returns:</h3>
true if the name appears to be a directory (folder).
<br><br>
<a href="https://github.com/autoplot/dev/search?q=isDirectory&unscoped_q=isDirectory">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/filesystem/HttpFileSystem.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/filesystem/HttpFileSystem.html#isDirectory">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/filesystem/HttpFileSystem.java">[view source]</a>
<br>
<br>
<hr>
<a name="isRegexNoWild"></a>
<h2>isRegexNoWild</h2>
isRegexNoWild( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> regex ) &rarr; boolean

<p>return true if the regular expression for the file is actually a single
 file with no wildcards.  This is tricky because for years a single period
 (".") has been left in the name, so that "." matches ".", and really 
 screen.png would match screen_png.  To contain this logic, this routine
 is introduced.  Presently it just checks for "screen.png" so that a 
 pngwalk of each screenshot (https://autoplot.org/jnlp/v$x/screen.png) can
 be made, which is useful when looking for old versions.</p>

<h3>Parameters</h3>
regex - a String

<h3>Returns:</h3>
a boolean

<br><br>
<a href="https://github.com/autoplot/dev/search?q=isRegexNoWild&unscoped_q=isRegexNoWild">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/filesystem/HttpFileSystem.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/filesystem/HttpFileSystem.html#isRegexNoWild">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/filesystem/HttpFileSystem.java">[view source]</a>
<br>
<br>
<hr>
<a name="listDirectory"></a>
<h2>listDirectory</h2>
listDirectory( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> directory ) &rarr; <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String[]</a>

<p>list the directory, using the cached entry from listDirectoryFromMemory, or
 by HtmlUtil.getDirectoryListing.  If there is a ro_cache, then add extra entries from here as well.
 Note the following extentions are hidden: .css, .php, .jnlp, .part.</p>

<h3>Parameters</h3>
directory - name within the filesystem

<h3>Returns:</h3>
names within the directory
<br><br>
<a href="https://github.com/autoplot/dev/search?q=listDirectory&unscoped_q=listDirectory">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/filesystem/HttpFileSystem.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/filesystem/HttpFileSystem.html#listDirectory">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/filesystem/HttpFileSystem.java">[view source]</a>
<br>
<br>
listDirectory( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> directory, <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> regex ) &rarr; <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String[]</a><br>
<hr>
<a name="maybeUpdateDirectoryEntry"></a>
<h2>maybeUpdateDirectoryEntry</h2>
maybeUpdateDirectoryEntry( <a href='https://docs.oracle.com/javase/8/docs/api/java/lang/String.html'>String</a> filename, boolean force ) &rarr; <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/util/filesystem/FileSystem/DirectoryEntry.html'>org.das2.util.filesystem.FileSystem.DirectoryEntry</a>

<p>HTTP listings are really done by querying the single file, so support this by issuing a head request</p>

<h3>Parameters</h3>
filename - filename within the system
<br>
force - if true, then guarantee a listing and throw an IOException if it cannot be done.

<h3>Returns:</h3>
the DirectoryEntry showing size and date.
<br><br>
<a href="https://github.com/autoplot/dev/search?q=maybeUpdateDirectoryEntry&unscoped_q=maybeUpdateDirectoryEntry">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/filesystem/HttpFileSystem.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/filesystem/HttpFileSystem.html#maybeUpdateDirectoryEntry">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/filesystem/HttpFileSystem.java">[view source]</a>
<br>
<br>