Package org.eclipse.aether.internal.impl
Class DefaultPathProcessor
java.lang.Object
org.eclipse.aether.internal.impl.DefaultPathProcessor
- All Implemented Interfaces:
org.eclipse.aether.spi.io.PathProcessor
@Singleton
@Named
public class DefaultPathProcessor
extends Object
implements org.eclipse.aether.spi.io.PathProcessor
A utility class helping with file-based operations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.aether.spi.io.PathProcessor
org.eclipse.aether.spi.io.PathProcessor.ProgressListener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
void
void
setLastModified
(Path path, long value) void
write
(Path target, InputStream source) void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.aether.spi.io.PathProcessor
copy, copyWithTimestamp, lastModified, size
-
Constructor Details
-
DefaultPathProcessor
public DefaultPathProcessor()
-
-
Method Details
-
setLastModified
- Specified by:
setLastModified
in interfaceorg.eclipse.aether.spi.io.PathProcessor
- Throws:
IOException
-
write
- Specified by:
write
in interfaceorg.eclipse.aether.spi.io.PathProcessor
- Throws:
IOException
-
write
- Specified by:
write
in interfaceorg.eclipse.aether.spi.io.PathProcessor
- Throws:
IOException
-
copy
public long copy(Path source, Path target, org.eclipse.aether.spi.io.PathProcessor.ProgressListener listener) throws IOException - Specified by:
copy
in interfaceorg.eclipse.aether.spi.io.PathProcessor
- Throws:
IOException
-
move
- Specified by:
move
in interfaceorg.eclipse.aether.spi.io.PathProcessor
- Throws:
IOException
-