java.lang.Object
org.xbib.datastructures.yaml.tiny.Yaml
Alle implementierten Schnittstellen:
org.xbib.datastructures.api.DataStructure

public class Yaml extends Object implements org.xbib.datastructures.api.DataStructure
  • Konstruktordetails

    • Yaml

      public Yaml()
    • Yaml

      public Yaml(org.xbib.datastructures.api.Node<?> root)
    • Yaml

      public Yaml(org.xbib.datastructures.api.Node<?> root, char separator)
  • Methodendetails

    • toMap

      public static Map<String,Object> toMap(String yaml) throws IOException
      Löst aus:
      IOException
    • toMap

      public static Map<String,Object> toMap(Reader reader) throws IOException
      Löst aus:
      IOException
    • toString

      public static String toString(Map<String,Object> map) throws IOException
      Löst aus:
      IOException
    • createParser

      public org.xbib.datastructures.api.Parser createParser()
      Angegeben von:
      createParser in Schnittstelle org.xbib.datastructures.api.DataStructure
    • createBuilder

      public org.xbib.datastructures.api.Builder createBuilder()
      Angegeben von:
      createBuilder in Schnittstelle org.xbib.datastructures.api.DataStructure
    • createBuilder

      public org.xbib.datastructures.api.Builder createBuilder(Consumer<String> consumer)
      Angegeben von:
      createBuilder in Schnittstelle org.xbib.datastructures.api.DataStructure
    • createGenerator

      public org.xbib.datastructures.api.Generator createGenerator(org.xbib.datastructures.api.Node<?> root)
      Angegeben von:
      createGenerator in Schnittstelle org.xbib.datastructures.api.DataStructure
    • setRoot

      public void setRoot(org.xbib.datastructures.api.Node<?> root)
      Angegeben von:
      setRoot in Schnittstelle org.xbib.datastructures.api.DataStructure
    • getRoot

      public org.xbib.datastructures.api.Node<?> getRoot()
      Angegeben von:
      getRoot in Schnittstelle org.xbib.datastructures.api.DataStructure
    • getNode

      public org.xbib.datastructures.api.Node<?> getNode(String path)
      Angegeben von:
      getNode in Schnittstelle org.xbib.datastructures.api.DataStructure
    • getBoolean

      public Boolean getBoolean(String path)
      Angegeben von:
      getBoolean in Schnittstelle org.xbib.datastructures.api.DataStructure
    • getByte

      public Byte getByte(String path)
      Angegeben von:
      getByte in Schnittstelle org.xbib.datastructures.api.DataStructure
    • getShort

      public Short getShort(String path)
      Angegeben von:
      getShort in Schnittstelle org.xbib.datastructures.api.DataStructure
    • getInteger

      public Integer getInteger(String path)
      Angegeben von:
      getInteger in Schnittstelle org.xbib.datastructures.api.DataStructure
    • getLong

      public Long getLong(String path)
      Angegeben von:
      getLong in Schnittstelle org.xbib.datastructures.api.DataStructure
    • getFloat

      public Float getFloat(String path)
      Angegeben von:
      getFloat in Schnittstelle org.xbib.datastructures.api.DataStructure
    • getDouble

      public Double getDouble(String path)
      Angegeben von:
      getDouble in Schnittstelle org.xbib.datastructures.api.DataStructure
    • getCharacter

      public Character getCharacter(String path)
      Angegeben von:
      getCharacter in Schnittstelle org.xbib.datastructures.api.DataStructure
    • getString

      public String getString(String path)
      Angegeben von:
      getString in Schnittstelle org.xbib.datastructures.api.DataStructure
    • getInstant

      public Instant getInstant(String path)
      Angegeben von:
      getInstant in Schnittstelle org.xbib.datastructures.api.DataStructure
    • getAsTime

      public org.xbib.datastructures.api.TimeValue getAsTime(String path, org.xbib.datastructures.api.TimeValue defaultValue)
      Angegeben von:
      getAsTime in Schnittstelle org.xbib.datastructures.api.DataStructure
    • getAsBytesSize

      public org.xbib.datastructures.api.ByteSizeValue getAsBytesSize(String path, org.xbib.datastructures.api.ByteSizeValue defaultValue)
      Angegeben von:
      getAsBytesSize in Schnittstelle org.xbib.datastructures.api.DataStructure
    • set

      public boolean set(String path, Object value)
      Angegeben von:
      set in Schnittstelle org.xbib.datastructures.api.DataStructure