Package org.mycore.restapi.v1.utils
Class MCRJSONFileVisitor
- All Implemented Interfaces:
FileVisitor<Path>
- Author:
- Thomas Scheffler (yagee)
-
Constructor Summary
ConstructorDescriptionMCRJSONFileVisitor
(com.google.gson.stream.JsonWriter jw, MCRObjectID objId, MCRObjectID derId, jakarta.ws.rs.core.UriInfo info, jakarta.ws.rs.core.Application app) -
Method Summary
Modifier and TypeMethodDescriptionpostVisitDirectory
(Path dir, IOException exc) preVisitDirectory
(Path dir, BasicFileAttributes attrs) visitFile
(Path file, BasicFileAttributes attrs) Methods inherited from class java.nio.file.SimpleFileVisitor
visitFileFailed
-
Constructor Details
-
MCRJSONFileVisitor
public MCRJSONFileVisitor(com.google.gson.stream.JsonWriter jw, MCRObjectID objId, MCRObjectID derId, jakarta.ws.rs.core.UriInfo info, jakarta.ws.rs.core.Application app)
-
-
Method Details
-
preVisitDirectory
- Specified by:
preVisitDirectory
in interfaceFileVisitor<Path>
- Overrides:
preVisitDirectory
in classSimpleFileVisitor<Path>
- Throws:
IOException
-
visitFile
- Specified by:
visitFile
in interfaceFileVisitor<Path>
- Overrides:
visitFile
in classSimpleFileVisitor<Path>
- Throws:
IOException
-
postVisitDirectory
- Specified by:
postVisitDirectory
in interfaceFileVisitor<Path>
- Overrides:
postVisitDirectory
in classSimpleFileVisitor<Path>
- Throws:
IOException
-