- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 71 for getAbsolutePath (0.23 sec)
-
maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java
// drive-relative Windows path, don't align with project directory but with drive root s = file.getAbsolutePath(); } else { // an ordinary relative path, align with project directory s = new File(new File(basedir, s).toURI().normalize()).getAbsolutePath(); } return s; } private String stripBasedirToken(String s) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Feb 28 07:40:37 GMT 2024 - 7.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java
final List<String> fileNameItems = new ArrayList<>(); final List<File> fileList = getAccessibleFileList(baseDir); final int length = baseDir.getAbsolutePath().length(); for (final File file : fileList) { fileNameItems.add(file.getAbsolutePath().substring(length)); } return fileNameItems; } // ===================================================================================
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 15.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java
final File targetClassesDir = new File(targetDir, "classes"); if (targetClassesDir.isDirectory()) { buf.append(cpSeparator); buf.append(targetClassesDir.getAbsolutePath()); } // WEB-INF/lib appendJarFile(cpSeparator, buf, new File(servletContext.getRealPath("/WEB-INF/lib")), "WEB-INF" + File.separator + "lib" + File.separator);
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) -
maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchainsBuilder.java
} catch (Exception e) { throw new MisconfiguredToolchainException( "Cannot read toolchains file at " + userToolchainsFile.getAbsolutePath(), e); } } else if (userToolchainsFile != null) { logger.debug("Toolchains configuration was not found at {}", userToolchainsFile); } return toolchains; }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Sep 22 09:07:17 GMT 2023 - 2.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGenerator.java
} return true; } final File parentFile = outputFile.getParentFile(); if (!parentFile.exists()) { parentFile.mkdirs(); } if (!parentFile.isDirectory()) { logger.warn("Not found: {}", parentFile.getAbsolutePath()); return false; }
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 7.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ClassPathUtil.java
try { urls.add(new File(entry).toURI().toURL()); } catch (SecurityException e) { // File.toURI checks to see if the file is a directory urls.add(new URL("file", null, new File(entry).getAbsolutePath())); } } catch (MalformedURLException e) { AssertionError error = new AssertionError("malformed class path entry: " + entry); error.initCause(e); throw error; } }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 13 20:26:15 GMT 2017 - 2.3K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java
sessionScope.enter(); try { sessionScope.seed(MavenSession.class, mock(MavenSession.class)); String artifactBasedir = new File(getBasedir(), "src/test/resources/artifact-install").getAbsolutePath(); Artifact artifact = createArtifact("artifact", "1.0"); File file = new File(artifactBasedir, "artifact-1.0.jar");
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/DynamicProperties.java
if (!parentDir.mkdir()) { throw new FileAccessException("ECL0109", new Object[] { file.getAbsolutePath() }); } } else if (!parentDir.isDirectory()) { throw new FileAccessException("ECL0110", new Object[] { file.getAbsolutePath() }); } properties = new Properties(); store(); } else if (!this.propertiesFile.isFile()) {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 9.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/esreq/AdminEsreqAction.java
} catch (final Exception e1) { if (tempFile != null && tempFile.exists() && !tempFile.delete()) { logger.warn("Failed to delete {}", tempFile.getAbsolutePath()); } throw e1; } return asStream("es_" + ComponentUtil.getSystemHelper().getCurrentTimeAsLong() + ".json").contentTypeOctetStream()
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 6.2K bytes - Viewed (0) -
apache-maven/src/test/java/org/apache/maven/settings/GlobalSettingsTest.java
assertTrue(globalSettingsFile.isFile(), globalSettingsFile.getAbsolutePath()); try (InputStream is = Files.newInputStream(globalSettingsFile.toPath())) { new SettingsStaxReader().read(is, true, new InputSource(globalSettingsFile.getAbsolutePath())); } }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 1.8K bytes - Viewed (0)