Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 6,271 for FILE (0.01 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.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
     *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/project/path/PathTranslator.java

    package org.apache.maven.project.path;
    
    import java.io.File;
    
    import org.apache.maven.model.Model;
    
    /**
     */
    @Deprecated
    public interface PathTranslator {
        String ROLE = PathTranslator.class.getName();
    
        void alignToBaseDirectory(Model model, File basedir);
    
        String alignToBaseDirectory(String path, File basedir);
    
        void unalignFromBaseDirectory(Model model, File basedir);
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

    import static java.lang.Math.min;
    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.io.OutputStream;
    import java.nio.file.attribute.PosixFileAttributeView;
    import java.nio.file.attribute.PosixFileAttributes;
    import java.util.Arrays;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t06/ProjectInheritanceTest.java

        @Test
        void testDependencyManagement() throws Exception {
            File localRepo = getLocalRepositoryPath();
            File pom0 = new File(localRepo, "p0/pom.xml");
    
            File pom0Basedir = pom0.getParentFile();
    
            File pom1 = new File(pom0Basedir, "p1/pom.xml");
    
            // load everything...
            MavenProject project0 = getProjectWithDependencies(pom0);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbResource.java

    public interface SmbResource extends AutoCloseable {
    
        /**
         * Gets the file locator for this file
         *
         * The file locator provides details about
         *
         * @return the fileLocator
         */
        SmbResourceLocator getLocator();
    
        /**
         * The context this file was opened with
         *
         * @return the context associated with this file
         */
        CIFSContext getContext();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  6. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

                assertEquals("smb1://server/share/", new SmbFile("smb1://server/share/").getCanonicalPath());
            }
    
            @Test
            public void testGetUncPath() throws MalformedURLException {
                // Test UNC path conversion
                assertEquals("\\\\server\\share\\file.txt", new SmbFile("smb1://server/share/file.txt").getUncPath());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFileFilter.java

    package jcifs.smb1.smb1;
    
    /**
     * Filter interface for SMB file listings
     */
    public interface SmbFileFilter {
        /**
         * Tests whether the specified SMB file should be included in a file list.
         *
         * @param file the SMB file to test for inclusion
         * @return true if the file should be included, false otherwise
         * @throws SmbException if an error occurs while accessing the file
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/jar/JarFileUtilTest.java

            final String root = new File("/").getCanonicalPath();
            assertEquals(root + "Program Files" + File.separator + "foo.jar", JarFileUtil.toJarFilePath(url));
        }
    
        /**
         * @throws Exception
         */
        public void testRelativePath() throws Exception {
            final File f = new File("/Program Files/foo.jar");
            URL url = new URL("jar:" + f.toURI().toURL() + "!/foo/bar/");
            url = new URL(url, "..");
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/UpdateCheckManager.java

        String getError(Artifact artifact, ArtifactRepository repository);
    
        boolean isUpdateRequired(RepositoryMetadata metadata, ArtifactRepository repository, File file);
    
        void touch(RepositoryMetadata metadata, ArtifactRepository repository, File file);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/project/path/DefaultPathTranslatorTest.java

            File basedir = new File(System.getProperty("java.io.tmpdir"), "test").getAbsoluteFile();
    
            String aligned = new DefaultPathTranslator().alignToBaseDirectory("${basedir}/dir", basedir);
    
            assertEquals(new File(basedir, "dir").getAbsolutePath(), aligned);
        }
    
        @Test
        void testUnalignToBasedirWherePathEqualsBasedir() {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top