Class PathWriter
- java.lang.Object
-
- org.keycloak.models.map.storage.file.yaml.PathWriter
-
- All Implemented Interfaces:
Closeable,AutoCloseable,org.snakeyaml.engine.v2.api.StreamDataWriter
public class PathWriter extends Object implements org.snakeyaml.engine.v2.api.StreamDataWriter, Closeable
- Author:
- hmlnarik
-
-
Constructor Summary
Constructors Constructor Description PathWriter(Path path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidflush()voidwrite(String str)voidwrite(String str, int off, int len)
-
-
-
Constructor Detail
-
PathWriter
public PathWriter(Path path) throws IOException
- Throws:
IOException
-
-
Method Detail
-
write
public void write(String str)
- Specified by:
writein interfaceorg.snakeyaml.engine.v2.api.StreamDataWriter
-
write
public void write(String str, int off, int len)
- Specified by:
writein interfaceorg.snakeyaml.engine.v2.api.StreamDataWriter
-
flush
public void flush()
- Specified by:
flushin interfaceorg.snakeyaml.engine.v2.api.StreamDataWriter
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-