- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 582 for ToPath (0.09 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java
} protected FileOwnerAttributeView parseFileOwnerAttribute(final ResponseData responseData, final File file) { try { final FileOwnerAttributeView ownerAttrView = Files.getFileAttributeView(file.toPath(), FileOwnerAttributeView.class); if (ownerAttrView != null) { final UserPrincipal owner = ownerAttrView.getOwner(); if (owner != null) {
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 11.8K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/repository/TestRepositoryConnector.java
try { Path dest = download.getPath(); Files.createDirectories(dest.getParent()); Files.copy(remoteFile.toPath(), dest); } catch (IOException e) { if (!remoteFile.exists()) { download.setException(new ArtifactNotFoundException(download.getArtifact(), repository));
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu May 02 16:33:18 UTC 2024 - 5.5K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/templates/gradle-plugin-in-java/src/functionalTest/java/com/example/plugin/GreetingPluginFunctionalTest.java
@Test public void canRunTask() throws IOException { // Setup the test build File projectDir = new File("build/functionalTest"); Files.createDirectories(projectDir.toPath()); writeString(new File(projectDir, "settings.gradle"), ""); writeString(new File(projectDir, "build.gradle"), "plugins {" + " id('com.example.plugin.greeting')" +
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/OutputsCleaner.java
break; } if (existsAndIsEmpty(directory)) { LOGGER.debug("Deleting stale empty output directory '{}'.", directory); Files.delete(directory.toPath()); didWork = true; markParentDirForDeletion(directory); } } } private boolean existsAndIsEmpty(File parentDir) throws IOException {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 5.2K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/artifacts/transform/TransformOutputs.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jul 05 15:49:03 UTC 2019 - 5.1K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java
File remoteFile = new File(remoteRepo.getBasedir(), remoteRepo.pathOf(artifact)); Files.createDirectories(localFile.toPath().getParent()); Files.copy(remoteFile.toPath(), localFile.toPath()); } artifact.setResolved(true); } public void retrieve( ArtifactRepository repository, File destination,
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 25 05:46:50 UTC 2024 - 11.7K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/templates/precompiled-script-plugin-utils/src/main/java/com/example/ReadmeVerificationTask.java
public abstract ListProperty<String> getReadmePatterns(); @TaskAction void verifyServiceReadme() throws IOException { String readmeContents = new String (Files.readAllBytes(getReadme().getAsFile().get().toPath())); for (String requiredSection : getReadmePatterns().get()) { Pattern pattern = Pattern.compile(requiredSection, Pattern.MULTILINE); if (!pattern.matcher(readmeContents).find()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java
} @Nonnull @Override public Path getPomPath() { return nonNull(project.getFile(), "pomPath").toPath(); } @Override public Path getBasedir() { return nonNull(project.getBasedir(), "basedir").toPath(); } @Nonnull @Override public List<DependencyCoordinate> getDependencies() {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu May 16 08:45:24 UTC 2024 - 6.7K bytes - Viewed (0) -
maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProcessor.java
this.modelLocator = modelLocator; this.modelReader = modelReader; } @Deprecated @Override public File locatePom(File projectDirectory) { return locatePom(projectDirectory.toPath()).toFile(); } @Override public Path locatePom(Path projectDirectory) { // Note that the ModelProcessor#locatePom never returns null
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 8.7K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/ClassLoaderUtilsTest.groovy
File classpath = ClasspathUtil.getClasspathForClass(testClass) File classFile = new File(classpath, testClass.name.replace('.', '/') + '.class') byte[] bytes = Files.readAllBytes(classFile.toPath()) MyClassLoader myClassLoader = new MyClassLoader() when: Class klass = ClassLoaderUtils.define(myClassLoader, DefaultClassLoaderFactoryTestHelper.name, bytes) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 1.4K bytes - Viewed (0)