- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for isRegularFile (0.24 sec)
-
guava-tests/test/com/google/common/io/MoreFilesTest.java
assertFalse(MoreFiles.isRegularFile().apply(symlinkToDir)); assertFalse(MoreFiles.isDirectory().apply(symlinkToFile)); assertTrue(MoreFiles.isRegularFile().apply(symlinkToFile)); assertFalse(MoreFiles.isDirectory(NOFOLLOW_LINKS).apply(symlinkToDir)); assertFalse(MoreFiles.isRegularFile(NOFOLLOW_LINKS).apply(symlinkToFile)); } } /**
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Jan 29 22:57:05 GMT 2024 - 27.2K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/PathModularization.java
* classical (Java 8 and before) way to organize source files. */ Path file = path.resolve(MODULE_INFO); if (Files.isRegularFile(file)) { String name = null; if (resolve) { try (InputStream in = Files.newInputStream(file)) { name = getModuleName(in);
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 11.2K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelProcessor.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 5.8K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java
} @Override public void put(Path source, URI relativeTarget) { requireNonNull(source, "source is null"); requireNonNull(relativeTarget, "relativeTarget is null"); if (Files.isRegularFile(source)) { throw new IllegalArgumentException("source file does not exist or is not a file"); } if (relativeTarget.isAbsolute()) {
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Mon Dec 26 15:12:32 GMT 2022 - 5.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/ReactorReader.java
} private File findInProjectLocalRepository(Artifact artifact) { Path target = getArtifactPath(artifact); return Files.isRegularFile(target) ? target.toFile() : null; } /** * We are interested in project success events, in which case we call * the {@link #installIntoProjectLocalRepository(MavenProject)} method.
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 16:33:18 GMT 2024 - 21.3K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularization.java
* classical (Java 8 and before) way to organize source files. */ Path file = path.resolve(MODULE_INFO); if (Files.isRegularFile(file)) { String name = null; if (resolve) { try (InputStream in = Files.newInputStream(file)) { name = getModuleName(in);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 11.2K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java
} @Override public void put(Path source, URI relativeTarget) { requireNonNull(source, "source is null"); requireNonNull(relativeTarget, "relativeTarget is null"); if (Files.isRegularFile(source)) { throw new IllegalArgumentException("source file does not exist or is not a file"); } if (relativeTarget.isAbsolute()) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 16:33:18 GMT 2024 - 5.3K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/PluginsMetadataGenerator.java
&& "".equals(artifact.getClassifier()) && artifact.getPath() != null) { Path artifactPath = artifact.getPath(); if (Files.isRegularFile(artifactPath)) { try (JarFile artifactJar = new JarFile(artifactPath.toFile(), false)) { ZipEntry pluginDescriptorEntry = artifactJar.getEntry(PLUGIN_DESCRIPTOR_LOCATION);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 6.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/osgi/OsgiTest.kt
for (classPathEntry in entries) { deployFile(classPathEntry.toPath()) } } private fun RepositoryPlugin.deployFile(file: Path) { if (fileSystem.metadataOrNull(file)?.isRegularFile != true) return try { fileSystem.read(file) { put(inputStream(), RepositoryPlugin.PutOptions()) println("Deployed ${file.name}") } } catch (e: IllegalArgumentException) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.9K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelTransformerContextBuilder.java
// gathered with problem collector } } } private Model findRawModel(Path from, Path p) { if (!Files.isRegularFile(p)) { throw new IllegalArgumentException("Not a regular file: " + p); } if (!addEdge(from, p, problems)) { return null; }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 9.3K bytes - Viewed (0)