|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.net.ProtocolConstants
Defines URL
protocols.
Field Summary | |
static java.lang.String |
FILE_PROTOCOL
|
static java.lang.String |
HTTP_PROTOCOL
|
static java.lang.String |
HTTPS_PROTOCOL
|
static java.lang.String |
IDE_DISPLAY_PROTOCOL
Protocol used to identify Node s whose URL is for
display purposes only and does not represent an actual physical
resource. |
static java.lang.String |
IDE_PROTOCOL_HEADER
Protocol header used by all ide protocols. |
static java.lang.String |
IDE_TEXT_PROTOCOL
Protocol used to identify Node s that when opened
by the user using a URL chooser dialog should be
represented by a TextNode . |
static java.lang.String |
JAR_PROTOCOL
|
protected static java.util.List |
PROTOCOLS
List of registered ide protocols. |
Method Summary | |
protected static void |
addIdeProtocol(java.lang.String protocol)
Adds a new ide protocol. |
static boolean |
isIdeProtocol(java.lang.String protocol)
Checks if the specified protocol starts with "ide.". |
static boolean |
isIdeProtocol(java.lang.String protocol,
java.lang.String ideProtocol)
Checks if the specified protocol starts with the
ideProtocol . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String FILE_PROTOCOL
public static final java.lang.String HTTP_PROTOCOL
public static final java.lang.String HTTPS_PROTOCOL
public static final java.lang.String JAR_PROTOCOL
public static final java.lang.String IDE_PROTOCOL_HEADER
public static final java.lang.String IDE_TEXT_PROTOCOL
Node
s that when opened
by the user using a URL
chooser dialog should be
represented by a TextNode
.
public static final java.lang.String IDE_DISPLAY_PROTOCOL
Node
s whose URL
is for
display purposes only and does not represent an actual physical
resource.
protected static final java.util.List PROTOCOLS
Method Detail |
public static boolean isIdeProtocol(java.lang.String protocol)
protocol
starts with "ide.". If
it does the method returns true
.
public static boolean isIdeProtocol(java.lang.String protocol, java.lang.String ideProtocol)
protocol
starts with the
ideProtocol
. If it does the method returns true
.
protected static void addIdeProtocol(java.lang.String protocol)
URLFileSystem.registerHelper( String protocol,
URLFileSystemHelper helper )
method to register an ide protocol
helper. That method will then call the addIdeProtocol
.
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.