Interface CharSource

All Superinterfaces:
AutoCloseable, Closeable
All Known Implementing Classes:
BufferedCharSource, ReaderCharSource, StreamCharSource, StringCharSource

public interface CharSource extends Closeable
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    @org.jetbrains.annotations.Range(from=-1L, to=65535L) int
     
    default int
    next(char @NotNull [] dest)
     
    default char
     
  • Method Details

    • next

      @org.jetbrains.annotations.Range(from=-1L, to=65535L) int next() throws io.github.wasabithumb.jtoml.except.TomlException
      Throws:
      io.github.wasabithumb.jtoml.except.TomlException
    • nextChar

      default char nextChar() throws io.github.wasabithumb.jtoml.except.TomlException
      Throws:
      io.github.wasabithumb.jtoml.except.TomlException
    • next

      default int next(char @NotNull [] dest) throws io.github.wasabithumb.jtoml.except.TomlException
      Throws:
      io.github.wasabithumb.jtoml.except.TomlException
    • close

      void close() throws io.github.wasabithumb.jtoml.except.TomlException
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Throws:
      io.github.wasabithumb.jtoml.except.TomlException