Logo Search packages:      
Sourcecode: libloader version File versions  Download package

static String org::jfree::resourceloader::loader::LoaderUtils::getFileName ( final String  file  )  [inline, static]

Extracts the file name from the URL.

url the url.
the extracted filename.

Definition at line 170 of file LoaderUtils.java.

    final int last = file.lastIndexOf("/");
    if (last < 0)
      return file;
    return file.substring(last + 1);

Generated by  Doxygen 1.6.0   Back to index