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 TypeMethodDescriptionvoid
long
void
void
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
lastModified, size
-
Constructor Details
-
TestPathProcessor
public TestPathProcessor()
-
-
Method Details
-
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
- Specified by:
copy
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
-