Java URI Value Check isIRODSURIScheme(final URI irodsURI)

Here you can find the source of isIRODSURIScheme(final URI irodsURI)

Description

Test to see if the URI is of the iRODS scheme "irods://".

License

BSD License

Parameter

Parameter Description
irodsURI URI to check

Return

boolean which is true if this is the iRODS URI scheme.

Declaration

public static boolean isIRODSURIScheme(final URI irodsURI) 

Method Source Code

//package com.java2s;
//License from project: BSD License 

import java.net.URI;

public class Main {
    private static final String SCHEME = "irods";

    /**//from w  ww. j a v a 2s. co  m
     * Test to see if the URI is of the iRODS scheme "irods://".
     *
     * @param irodsURI
     *            {@link URI} to check
     * @return <code>boolean</code> which is <code>true</code> if this is the
     *         iRODS URI scheme.
     */
    public static boolean isIRODSURIScheme(final URI irodsURI) {
        return SCHEME.equals(irodsURI.getScheme());
    }
}

Related

  1. isFileURI(URI uri)
  2. isFileURI(URI uri)
  3. isFileUri(URI uri)
  4. isFtp(URI uri)
  5. isHostDnsName(URI uri)
  6. isJar(final URI uri)
  7. isJarFile(final URI uri)
  8. isLocal(final URI uri)
  9. isLocal(final URI uri)