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 void
close()
void
flush()
void
write(String str)
void
write(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:
write
in interfaceorg.snakeyaml.engine.v2.api.StreamDataWriter
-
write
public void write(String str, int off, int len)
- Specified by:
write
in interfaceorg.snakeyaml.engine.v2.api.StreamDataWriter
-
flush
public void flush()
- Specified by:
flush
in interfaceorg.snakeyaml.engine.v2.api.StreamDataWriter
-
close
public void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
-