Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/env/core/uri/URIScheme.java')
-rw-r--r--bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/env/core/uri/URIScheme.java63
1 files changed, 0 insertions, 63 deletions
diff --git a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/env/core/uri/URIScheme.java b/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/env/core/uri/URIScheme.java
deleted file mode 100644
index df77e09e4..000000000
--- a/bundles/org.eclipse.wst.command.env.core/src/org/eclipse/wst/command/env/core/uri/URIScheme.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.wst.command.env.core.uri;
-
-import java.net.URL;
-
-import org.eclipse.wst.command.env.core.common.Status;
-
-/**
- * A URIScheme represents a single scheme for some a family of
- * Univeral Resource Identifiers. Examples include "file", "http"
- * and "platform" (Eclipse).
- */
-public interface URIScheme
-{
- /**
- * Returns a new URI.
- */
- public URI newURI ( String uri ) throws URIException;
-
- /**
- * Returns a new URI.
- */
- public URI newURI ( URL url ) throws URIException;
-
- /**
- * Returns a new URI.
- */
- public URI newURI ( URI uri ) throws URIException;
-
- /**
- * Returns the proper name of the scheme.
- */
- public String toString ();
-
- /**
- * Returns true if and only if this is a hierarchical scheme.
- */
- public boolean isHierarchical ();
-
- /**
- * Returns true if and only if the given URI satisfies the
- * grammatical requirements of the scheme. Absolute URIs must
- * begin with "<scheme>:". Relative URIs must either not contain
- * a colon, ":", or it must begin with "./".
- */
- public boolean isValid ( URI uri );
-
- /**
- * Returns a Status object indicating whether or not the given
- * URI is valid. The severity and message of the Status object
- * will describe this.
- */
- public Status validate ( URI uri );
-}

Back to the top