Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 171 for files (0.22 sec)

  1. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

     * under the License.
     */
    package org.apache.maven.artifact.repository.metadata;
    
    import javax.xml.stream.XMLStreamException;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.nio.file.Files;
    
    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.metadata.ArtifactMetadata;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7K bytes
    - Viewed (0)
  2. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/TestApiStandalone.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.internal.impl.standalone;
    
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.Map;
    
    import org.apache.maven.api.Artifact;
    import org.apache.maven.api.ArtifactCoordinate;
    import org.apache.maven.api.Node;
    import org.apache.maven.api.Session;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/FilesFileTraverserTest.java

        File dir2 = newFile("dir-1/dir-2");
    
        assertThat(Files.fileTraverser().breadthFirst(rootDir))
            .containsExactly(rootDir, fileA, fileB, dir1, dir2);
      }
    
      @CanIgnoreReturnValue
      private File newDir(String name) {
        File file = new File(rootDir, name);
        file.mkdir();
        return file;
      }
    
      @CanIgnoreReturnValue
      private File newFile(String name) throws IOException {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 20:17:27 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionDataRepository.java

    import java.io.Writer;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.Properties;
    import java.util.stream.Stream;
    
    import org.apache.maven.project.MavenProject;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * This implementation of {@link BuildResumptionDataRepository} persists information in a properties file. The file is
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 06 08:51:18 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/ResourceUtil.java

            if (context == null) {
                return new File[0];
            }
            final String libPath = context.getRealPath("/WEB-INF/lib");
            if (StringUtil.isBlank(libPath)) {
                return new File[0];
            }
            final File libDir = new File(libPath);
            if (!libDir.exists()) {
                return new File[0];
            }
            return libDir.listFiles((file, name) -> name.startsWith(namePrefix));
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/log/AdminLogAction.java

     */
    package org.codelibs.fess.app.web.admin.log;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.nio.charset.StandardCharsets;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.ArrayList;
    import java.util.Base64;
    import java.util.Date;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.stream.Stream;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/io/FileUtil.java

            }
        }
    
        /**
         * この抽象パス名を<code>file:</code> URLに変換します。
         *
         * @param file
         *            ファイル。{@literal null}であってはいけません
         * @return ファイルURLを表すURLオブジェクト
         */
        public static URL toURL(final File file) {
            assertArgumentNotNull("file", file);
    
            try {
                return file.toURI().toURL();
            } catch (final IOException e) {
                throw new IORuntimeException(e);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

    import static java.nio.file.attribute.PosixFilePermission.OWNER_EXECUTE;
    import static java.nio.file.attribute.PosixFilePermission.OWNER_READ;
    import static java.nio.file.attribute.PosixFilePermission.OWNER_WRITE;
    import static org.junit.Assert.assertThrows;
    
    import java.io.File;
    import java.io.IOException;
    import java.nio.file.attribute.PosixFileAttributeView;
    import java.nio.file.attribute.PosixFileAttributes;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

    /*
     * Licensed to the Apache Software Foundation (ASF) under one
     * or more contributor license agreements.  See the NOTICE file
     * distributed with this work for additional information
     * regarding copyright ownership.  The ASF licenses this file
     * to you under the Apache License, Version 2.0 (the
     * "License"); you may not use this file except in compliance
     * with the License.  You may obtain a copy of the License at
     *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultChecksumAlgorithmService.java

        }
    
        @Override
        public Map<ChecksumAlgorithm, String> calculate(Path file, Collection<ChecksumAlgorithm> algorithms)
                throws IOException {
            nonNull(file, "file");
            nonNull(algorithms, "algorithms");
            try (InputStream inputStream = new BufferedInputStream(Files.newInputStream(file))) {
                return calculate(inputStream, algorithms);
            }
        }
    
        @Override
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Dec 21 08:05:10 GMT 2023
    - 7K bytes
    - Viewed (0)
Back to top