Class PathTextWritable

java.lang.Object
it.tidalwave.role.io.spi.PathTextWritable
All Implemented Interfaces:
TextWritable

public class PathTextWritable extends Object implements TextWritable
An implementation of TextWritable which delegates to a Path.
Since:
3.2-ALPHA-12
Author:
Fabrizio Giudici
Status: stable API
  • Constructor Details

    • PathTextWritable

      public PathTextWritable(@Nonnull Path path)
      Creates an instance with the given path and options.
      Parameters:
      path - the path to open
    • PathTextWritable

      public PathTextWritable(@Nonnull Path path, @Nonnull Charset charset, @Nonnull OpenOption... openOptions)
      Creates an instance with the given path and options.
      Parameters:
      path - the path to open
      charset - the character set
      openOptions - open options
  • Method Details