class HopVfs {

  protected static boolean checkForScheme( String[] initialSchemes, boolean relativeFilename, String vfsFilename ) {
    if ( vfsFilename == null ) {
      return false;
    }
    for ( int i = 0; i < initialSchemes.length && relativeFilename; i++ ) {
      if ( vfsFilename.startsWith( initialSchemes[ i ] + ":" ) ) {
        relativeFilename = false;
      }
    }
    return relativeFilename;
  }

}