Package org.eclipse.aether.internal.impl
Class DefaultFileProcessor
java.lang.Object
org.eclipse.aether.internal.impl.DefaultFileProcessor
- All Implemented Interfaces:
org.eclipse.aether.spi.io.FileProcessor
@Deprecated
@Singleton
@Named
public class DefaultFileProcessor
extends Object
implements org.eclipse.aether.spi.io.FileProcessor
Deprecated.
A utility class helping with file-based operations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.aether.spi.io.FileProcessor
org.eclipse.aether.spi.io.FileProcessor.ProgressListener -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.longDeprecated.booleanDeprecated.Thread-safe variant ofFile.mkdirs().voidDeprecated.readChecksum(File checksumFile) Deprecated.voidwrite(File target, InputStream source) Deprecated.voidDeprecated.voidwriteChecksum(File checksumFile, String checksum) Deprecated.
-
Constructor Details
-
DefaultFileProcessor
public DefaultFileProcessor()Deprecated.
-
-
Method Details
-
mkdirs
Deprecated.Thread-safe variant ofFile.mkdirs(). Creates the directory named by the given abstract pathname, including any necessary but nonexistent parent directories. Note that if this operation fails it may have succeeded in creating some of the necessary parent directories.- Specified by:
mkdirsin interfaceorg.eclipse.aether.spi.io.FileProcessor- Parameters:
directory- The directory to create, may benull.- Returns:
trueif and only if the directory was created, along with all necessary parent directories;falseotherwise
-
write
Deprecated.- Specified by:
writein interfaceorg.eclipse.aether.spi.io.FileProcessor- Throws:
IOException
-
write
Deprecated.- Specified by:
writein interfaceorg.eclipse.aether.spi.io.FileProcessor- Throws:
IOException
-
copy
Deprecated.- Specified by:
copyin interfaceorg.eclipse.aether.spi.io.FileProcessor- Throws:
IOException
-
copy
public long copy(File source, File target, org.eclipse.aether.spi.io.FileProcessor.ProgressListener listener) throws IOException Deprecated.- Specified by:
copyin interfaceorg.eclipse.aether.spi.io.FileProcessor- Throws:
IOException
-
move
Deprecated.- Specified by:
movein interfaceorg.eclipse.aether.spi.io.FileProcessor- Throws:
IOException
-
readChecksum
Deprecated.- Specified by:
readChecksumin interfaceorg.eclipse.aether.spi.io.FileProcessor- Throws:
IOException
-
writeChecksum
Deprecated.- Specified by:
writeChecksumin interfaceorg.eclipse.aether.spi.io.FileProcessor- Throws:
IOException
-