Interface DataRoot

All Known Subinterfaces:
BinaryRoot, ReadableRoot
All Known Implementing Classes:
InputOutputRoot, PathRoot, StringRoot

public interface DataRoot
The root source of configuration data. This could be a file, a string, or a byte array.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    IO proof, functional interface for use with reader/writer methods
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Checks whether the data is known to exist.
  • Method Details

    • dataExists

      boolean dataExists() throws IOException
      Checks whether the data is known to exist.
      Returns:
      true if the data is known to be present, false if not present or if its existence cannot be determined
      Throws:
      IOException - if checking for data existence failed