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 a path name.

file the path name.
the extracted filename.

Definition at line 173 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