Here you can find the source of isIRODSURIScheme(final URI irodsURI)
Test to see if the URI is of the iRODS scheme "irods://".
Parameter | Description |
---|---|
irodsURI | URI to check |
boolean
which is true
if this is the iRODS URI scheme.
public static boolean isIRODSURIScheme(final URI irodsURI)
//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()); } }