Class TestPathProcessor
java.lang.Object
org.eclipse.aether.internal.test.util.TestPathProcessor
- All Implemented Interfaces:
org.eclipse.aether.spi.io.PathProcessor
A simple file processor implementation to help satisfy component requirements during tests.
-
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
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
-
TestPathProcessor
public TestPathProcessor()
-
-
Method Details
-
setLastModified
- Specified by:
setLastModified
in interfaceorg.eclipse.aether.spi.io.PathProcessor
- Throws:
IOException
-
mkdirs
-
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
-