public static boolean hasSchemePattern( String path ) {
    return hasSchemePattern( path, PROVIDER_PATTERN_SCHEME );
  }
@Test
  public void testHasSchemeWithSpaces() {
    String vfsFilename = "/tmp/This is a text file4551613284841905296.txt";
    String vfsFilenameWithScheme = "hdfs://tmp/This is a text file4551613284841905296.txt";

    boolean testVfsFilename = KettleVFS.hasSchemePattern( vfsFilename, PROVIDER_PATTERN_SCHEME );
    assertFalse( testVfsFilename );

    boolean testVfsFilenameWithScheme = KettleVFS.hasSchemePattern( vfsFilenameWithScheme, PROVIDER_PATTERN_SCHEME );
    assertTrue( testVfsFilenameWithScheme );

  }