Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for FileException (0.36 sec)

  1. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/services/GenericFileSystem.java

            try {
                return stat.getUnixMode(f);
            } catch (Exception e) {
                throw new FileException(String.format("Could not get file mode for '%s'.", f), e);
            }
        }
    
        @Override
        public FileMetadata stat(File f) throws FileException {
            statisticsCollector.reportFileStated();
            return metadata.stat(f);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:39 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/archive/impl/FileZipInput.java

        /**
         * Creates a stream of the entries in the given zip file. Caller is responsible for closing the return value.
         *
         * @throws FileException on failure to open the Zip
         */
        public static ZipInput create(File file) throws FileException {
            if (isZipFileSafeToUse()) {
                return new FileZipInput(file);
            } else {
                try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:00 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/archive/impl/StreamZipInput.java

    import com.google.common.collect.AbstractIterator;
    import org.gradle.api.internal.file.archive.ZipEntry;
    import org.gradle.api.internal.file.archive.ZipInput;
    import org.gradle.internal.file.FileException;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Iterator;
    import java.util.zip.ZipInputStream;
    
    public class StreamZipInput implements ZipInput {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:00 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/caching/internal/BuildCacheServices.java

                this.fileSystem = fileSystem;
            }
    
            @Override
            public int getUnixMode(File f) throws FileException {
                return fileSystem.getUnixMode(f);
            }
    
            @Override
            public void chmod(File file, int mode) throws FileException {
                fileSystem.chmod(file, mode);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top