Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 269 for getFile (0.29 seconds)

  1. compat/maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java

        }
    
        /**
         * Gets the file of this source.
         *
         * @return The underlying file, never {@code null}.
         * @deprecated Use {@link #getPath()} instead.
         */
        @Deprecated
        public File getFile() {
            return path.toFile();
        }
    
        /**
         * Gets the file of this source.
         *
         * @return The underlying file, never {@code null}.
         * @since 4.0.0
         */
        public Path getPath() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 15 18:51:29 GMT 2025
    - 3K bytes
    - Click Count (0)
  2. build-conventions/build.gradle

        compileOnly "com.puppycrawl.tools:checkstyle:8.42"
    }
    
    project.getPlugins().withType(JavaBasePlugin.class) {
        java.getModularity().getInferModulePath().set(false);
        eclipse.getClasspath().getFile().whenMerged { classpath ->
            /*
             * give each source folder a unique corresponding output folder
             * outside of the usual `build` folder. We can't put the build
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jul 01 09:43:51 GMT 2021
    - 2.7K bytes
    - Click Count (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java

            @SuppressWarnings("deprecation")
            List<Artifact> artifacts = project.getCompileArtifacts();
            assertEquals(1, artifacts.size());
            assertTrue(artifacts.get(0).getFile().getName().endsWith("tools.jar"));
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java

        String getVersion();
    
        void setVersion(String version);
    
        String getScope();
    
        String getType();
    
        String getClassifier();
    
        boolean hasClassifier();
    
        File getFile();
    
        void setFile(File destination);
    
        String getBaseVersion();
    
        void setBaseVersion(String baseVersion);
    
        String getId();
    
        String getDependencyConflictId();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java

            this(artifact, null);
        }
    
        public ProjectArtifactMetadata(Artifact artifact, File file) {
            super(artifact);
            this.file = file;
        }
    
        public File getFile() {
            return file;
        }
    
        @Override
        public String getRemoteFilename() {
            return getFilename();
        }
    
        @Override
        public String getLocalFilename(ArtifactRepository repository) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/io/FileBackedOutputStream.java

          return buf;
        }
    
        int getCount() {
          return count;
        }
      }
    
      /** Returns the file holding the data (possibly null). */
      @VisibleForTesting
      @Nullable File getFile() {
        return state.getFile();
      }
    
      /**
       * Creates a new instance that uses the given file threshold, and does not reset the data when the
       * {@link ByteSource} returned by {@link #asByteSource} is garbage collected.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 17:30:49 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java

        }
    
        private String emptify(String string) {
            return (string != null) ? string : "";
        }
    
        @Override
        public File getFile() {
            return null;
        }
    
        @Override
        public MetadataBridge setFile(File file) {
            return this;
        }
    
        @Override
        public Path getPath() {
            return null;
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ValidateJsonAgainstSchemaTask.java

            StreamSupport.stream(inputChanges.getFileChanges(getInputFiles()).spliterator(), false)
                .filter(f -> f.getChangeType() != ChangeType.REMOVED)
                .map(FileChange::getFile)
                .filter(file -> file.isDirectory() == false)
                .forEach(file -> {
                    try {
                        Set<ValidationMessage> validationMessages = jsonSchema.validate(mapper.readTree(file));
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jul 28 11:09:58 GMT 2021
    - 5.4K bytes
    - Click Count (0)
  9. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/EclipseConventionPlugin.java

                    JavaPluginExtension java = project.getExtensions().getByType(JavaPluginExtension.class);
                    java.getModularity().getInferModulePath().set(false);
    
                    eclipseModel.getClasspath().getFile().whenMerged(c -> {
                        Classpath classpath = (Classpath) c;
    
                        /*
                         * give each source folder a unique corresponding output folder
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jul 01 09:43:51 GMT 2021
    - 6.4K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/resources/forbidden/jdk-signatures.txt

    # in compliance with, at your election, the Elastic License 2.0 or the Server
    # Side Public License, v 1.
    
    @defaultMessage Convert to URI
    java.net.URL#getPath()
    java.net.URL#getFile()
    
    @defaultMessage Usage of getLocalHost is discouraged
    java.net.InetAddress#getLocalHost()
    
    @defaultMessage Use java.nio.file instead of java.io.File API
    java.util.jar.JarFile
    java.util.zip.ZipFile
    java.io.File
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 4.8K bytes
    - Click Count (0)
Back to Top