- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for separator (0.18 sec)
-
src/main/java/org/codelibs/fess/job/PythonJob.java
final StringBuilder buf = new StringBuilder(100); buf.append("WEB-INF"); buf.append(File.separator); buf.append("env"); buf.append(File.separator); buf.append(getExecuteType()); buf.append(File.separator); buf.append("resources"); buf.append(File.separator); buf.append(filename.replaceAll("\\.\\.+", "")); return buf.toString(); }
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 5.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/StringUtil.java
* * @param str * 文字列 * @param separator * セパレータ * @return 結果の文字列 */ public static String substringFromLast(final String str, final String separator) { if (isEmpty(str) || isEmpty(separator)) { return str; } final int pos = str.lastIndexOf(separator); if (pos == -1) { return str; }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 21.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/synonym/SynonymFileTest.java
assertEquals(3, itemList3.size()); assertEquals( "b1,b2=>B1" + Constants.LINE_SEPARATOR + "c1=>C1,C2" + Constants.LINE_SEPARATOR + "X1,x1" + Constants.LINE_SEPARATOR, new String(FileUtil.getBytes(file1), Constants.UTF_8)); } */
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/SystemUtil.java
/** * <code>line.separator</code> システムプロパティ。例えばMac OS Xなら * <code>"\n"</code> */ public static final String LINE_SEPARATOR = System.getProperty("line.separator"); /** * <code>path.separator</code> システムプロパティ。例えばMac OS Xなら * <code>":"</code> */ public static final String PATH_SEPARATOR = System.getProperty("path.separator"); /**
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/CrawlJob.java
"WEB-INF" + File.separator + "env" + File.separator + getExecuteType() + File.separator + "lib" + File.separator); // WEB-INF/plugin appendJarFile(cpSeparator, buf, new File(servletContext.getRealPath("/WEB-INF/plugin")), "WEB-INF" + File.separator + "plugin" + File.separator); final File targetLibDir = new File(targetDir, "fess" + File.separator + "WEB-INF" + File.separator + "lib");
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 15K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java
try { if ((item == null) || (item.getId() != oldItem.getId()) || !item.isUpdated()) { writer.write(oldItem.toLineString()); writer.write(Constants.LINE_SEPARATOR); return oldItem; } if (!item.equals(oldItem)) { throw new DictionaryException("StemmerOverride file was updated: old=" + oldItem + " : new=" + item);
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 10.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java
"WEB-INF" + File.separator + "env" + File.separator + getExecuteType() + File.separator + "lib" + File.separator); // WEB-INF/plugin appendJarFile(cpSeparator, buf, new File(servletContext.getRealPath("/WEB-INF/plugin")), "WEB-INF" + File.separator + "plugin" + File.separator); final File targetLibDir = new File(targetDir, "fess" + File.separator + "WEB-INF" + File.separator + "lib");
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 10.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java
} } private static List<String> split(final String s, final String separator) { final List<String> list = new ArrayList<>(2); StringBuilder sb = new StringBuilder(); int pos = 0; final int end = s.length(); while (pos < end) { if (s.startsWith(separator, pos)) { if (sb.length() > 0) { list.add(sb.toString());
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 12.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java
try { if ((item == null) || (item.getId() != oldItem.getId()) || !item.isUpdated()) { writer.write(oldItem.toLineString()); writer.write(Constants.LINE_SEPARATOR); return oldItem; } if (!item.equals(oldItem)) { throw new DictionaryException("Protwords file was updated: old=" + oldItem + " : new=" + item);
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 9.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/jar/JarFileUtilTest.java
final URL url = new URL("jar:" + f.toURI().toURL() + "!/"); final String root = new File("/").getCanonicalPath(); assertEquals(root + "Program Files" + File.separator + "foo.jar", JarFileUtil.toJarFilePath(url)); } /** * @throws Exception */ public void testRelativePath() throws Exception { final File f = new File("/Program Files/foo.jar");
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.5K bytes - Viewed (0)