Class PathFileCodec
- java.lang.Object
-
- org.geysermc.configutils.file.codec.PathFileCodec
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PathFileCodecinstance()static PathFileCodecof(java.lang.String path)static PathFileCodecof(java.nio.file.Path path)java.lang.Stringread(java.lang.String file)Reads the specified filevoidwrite(java.lang.String file, java.lang.String content)Writes the provided data to the specified file
-
-
-
Method Detail
-
instance
public static PathFileCodec instance()
-
of
public static PathFileCodec of(java.nio.file.Path path)
-
of
public static PathFileCodec of(java.lang.String path)
-
read
public java.lang.String read(java.lang.String file)
Description copied from interface:FileCodecReads the specified file
-
-