- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for getAbsolutePath (0.17 sec)
-
compat/maven-compat/src/test/java/org/apache/maven/project/path/DefaultPathTranslatorTest.java
assertEquals(new File(basedir, "dir").getAbsolutePath(), aligned); } @Test void testUnalignToBasedirWherePathEqualsBasedir() { File basedir = new File(System.getProperty("java.io.tmpdir"), "test").getAbsoluteFile(); String unaligned = new DefaultPathTranslator().unalignFromBaseDirectory(basedir.getAbsolutePath(), basedir); assertEquals(".", unaligned); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java
indexFile.deleteOnExit(); FileUtil.writeBytes(indexFile.getAbsolutePath(), content.getBytes("UTF-8")); for (int i = 1; i <= 10; i++) { final File file = new File(dir, "file" + count + "-" + i + ".html"); file.deleteOnExit(); FileUtil.writeBytes(file.getAbsolutePath(), content.getBytes("UTF-8")); final File childDir = new File(dir, "dir" + count + "-" + i);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java
fsClient = container.getComponent("fsClient"); } public void test_doGet_dir() { final File file = ResourceUtil.getResourceAsFile("test"); String path = file.getAbsolutePath(); if (!path.startsWith("/")) { path = "/" + path.replace('\\', '/'); } try { fsClient.doGet("file://" + path); fail();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/FileTransformerTest.java
assertEquals(resultFile, file); FileUtil.writeBytes(file.getAbsolutePath(), "abc".getBytes()); path = "foo1/hoge.html"; file = fileTransformer.createFile(path); resultFile = new File(fileTransformer.baseDir, path); assertEquals(resultFile, file); FileUtil.writeBytes(file.getAbsolutePath(), "abc".getBytes()); path = "foo1/foo2/hoge.html";
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 7.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractorTest.java
return scriptFile.getAbsolutePath() + " $INPUT_FILE $OUTPUT_FILE"; } } private String getCommandStdout(final File scriptFile) { if (File.separator.equals("/")) { // Unix return "sh " + scriptFile.getAbsolutePath() + " $INPUT_FILE"; } else { // Windows return scriptFile.getAbsolutePath() + " $INPUT_FILE"; } }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 9.8K bytes - Viewed (0) -
fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java
indexFile.deleteOnExit(); FileUtil.writeBytes(indexFile.getAbsolutePath(), content.getBytes("UTF-8")); for (int i = 1; i <= 10; i++) { final File file = new File(dir, "file" + count + "-" + i + ".html"); file.deleteOnExit(); FileUtil.writeBytes(file.getAbsolutePath(), content.getBytes("UTF-8")); final File childDir = new File(dir, "dir" + count + "-" + i);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java
indexFile.deleteOnExit(); FileUtil.writeBytes(indexFile.getAbsolutePath(), content.getBytes("UTF-8")); for (int i = 1; i <= 10; i++) { final File file = new File(dir, "file" + count + "-" + i + ".html"); file.deleteOnExit(); FileUtil.writeBytes(file.getAbsolutePath(), content.getBytes("UTF-8")); final File childDir = new File(dir, "dir" + count + "-" + i);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java
} return true; } final File parentFile = outputFile.getParentFile(); if (!parentFile.exists()) { parentFile.mkdirs(); } if (!parentFile.isDirectory()) { logger.warn("Not found: {}", parentFile.getAbsolutePath()); return false; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 9.6K bytes - Viewed (0) -
.teamcity/.mvn/wrapper/MavenWrapperDownloader.java
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH); if(!outputFile.getParentFile().exists()) { if(!outputFile.getParentFile().mkdirs()) { System.out.println( "- ERROR creating output directory '" + outputFile.getParentFile().getAbsolutePath() + "'"); } }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Feb 26 01:48:39 UTC 2020 - 4.8K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java
final File file = File.createTempFile("crawler-", ""); file.delete(); file.mkdirs(); file.deleteOnExit(); fileTransformer.setPath(file.getAbsolutePath()); crawler.addUrl(url); crawler.getCrawlerContext().setMaxAccessCount(maxCount); crawler.getCrawlerContext().setNumOfThread(numOfThread);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 7.7K bytes - Viewed (0)