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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongvoidvoidvoidsetLastModified(Path path, long value) voidwrite(Path target, InputStream source) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.aether.spi.io.PathProcessor
copy, copyWithTimestamp, lastModified, size
-
Constructor Details
-
TestPathProcessor
public TestPathProcessor()
-
-
Method Details
-
setLastModified
- Specified by:
setLastModifiedin interfaceorg.eclipse.aether.spi.io.PathProcessor- Throws:
IOException
-
mkdirs
-
write
- Specified by:
writein interfaceorg.eclipse.aether.spi.io.PathProcessor- Throws:
IOException
-
write
- Specified by:
writein 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:
copyin interfaceorg.eclipse.aether.spi.io.PathProcessor- Throws:
IOException
-
move
- Specified by:
movein interfaceorg.eclipse.aether.spi.io.PathProcessor- Throws:
IOException
-