Lines Matching refs:_sFilename
104 public static String getBasename(String _sFilename) in getBasename() argument
106 if (_sFilename == null) return ""; in getBasename()
109 int nIdx = _sFilename.lastIndexOf(fs); in getBasename()
112 return _sFilename.substring(nIdx + 1); in getBasename()
114 return _sFilename; in getBasename()
117 public static String getNameNoSuffix(String _sFilename) in getNameNoSuffix() argument
119 if (_sFilename == null) return ""; in getNameNoSuffix()
120 int nIdx = _sFilename.lastIndexOf("."); in getNameNoSuffix()
123 return _sFilename.substring(0, nIdx); in getNameNoSuffix()
125 return _sFilename; in getNameNoSuffix()
128 public static String getSuffix(String _sFilename) in getSuffix() argument
130 if (_sFilename == null) return ""; in getSuffix()
131 int nIdx = _sFilename.lastIndexOf("."); in getSuffix()
134 return _sFilename.substring(nIdx ); in getSuffix()
139 public static String getPath(String _sFilename) in getPath() argument
141 if (_sFilename == null) return ""; in getPath()
144 int nIdx = _sFilename.lastIndexOf(fs); in getPath()
147 return _sFilename.substring(0, nIdx); in getPath()