Extension SDK

oracle.ide.net
Class HttpURLFileSystemHelper

java.lang.Object
  |
  +--oracle.ide.net.URLFileSystemHelper
        |
        +--oracle.ide.net.HttpURLFileSystemHelper

public class HttpURLFileSystemHelper
extends URLFileSystemHelper

The HttpURLFileSystemHelper class provides an implementation of URLFileSystemHelper for http URLs.


Constructor Summary
HttpURLFileSystemHelper()
           
 
Method Summary
 boolean canCreate(java.net.URL url)
          Tests whether the application can create the resource at the specified URL.
 boolean exists(java.net.URL url)
          Returns true if the specified URL points to a resource that currently exists; returns false otherwise.
protected  boolean haveSamePort(java.net.URL url1, java.net.URL url2)
           
 
Methods inherited from class oracle.ide.net.URLFileSystemHelper
appendRelativePath, areEqual, areEqualPathElems, canonicalize, canRead, canWrite, convertSuffix, createTempFile, delete, ensureSuffix, equals, getBaseParent, getFileName, getLength, getName, getParent, getPath, getPathNoExt, getPlatformPathName, getSuffix, hasSuffix, haveSameAuthority, haveSameHost, haveSamePath, haveSameProtocol, haveSameQuery, haveSameRef, haveSameUserInfo, isBaseURLFor, isDirectory, isDirectoryPath, isHidden, isReadOnly, isRegularFile, isValid, lastModified, list, list, listRoots, ls, ls, mkdir, mkdirs, openInputStream, openOutputStream, renameTo, setLastModified, setReadOnly, toDisplayString, toRelativeSpec, toRelativeSpec
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpURLFileSystemHelper

public HttpURLFileSystemHelper()
Method Detail

exists

public boolean exists(java.net.URL url)
Description copied from class: URLFileSystemHelper
Returns true if the specified URL points to a resource that currently exists; returns false otherwise.

The default implementation simply returns false without doing anything.

Overrides:
exists in class URLFileSystemHelper

canCreate

public boolean canCreate(java.net.URL url)
Tests whether the application can create the resource at the specified URL.
Overrides:
canCreate in class URLFileSystemHelper
Returns:
true if the resource at the specified URL exists or can be created; false otherwise.

haveSamePort

protected boolean haveSamePort(java.net.URL url1,
                               java.net.URL url2)
Overrides:
haveSamePort in class URLFileSystemHelper

Extension SDK