Class YamlWriter

java.lang.Object
brut.androlib.apk.YamlWriter
All Implemented Interfaces:
Closeable, AutoCloseable

public class YamlWriter extends Object implements Closeable
  • Constructor Details

  • Method Details

    • close

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Throws:
      IOException
    • getIndentString

      public String getIndentString()
    • escape

      public static String escape(String value)
    • nextIndent

      public void nextIndent()
    • prevIndent

      public void prevIndent()
    • writeIndent

      public void writeIndent()
    • writeBool

      public void writeBool(String key, boolean value)
    • writeString

      public void writeString(String key, String value, boolean quoted)
    • writeString

      public void writeString(String key, String value)
    • writeList

      public <T> void writeList(String key, List<T> list)
    • writeStringMap

      public void writeStringMap(String key, Map<String,String> map)
    • writeObject

      public <T extends YamlSerializable> void writeObject(String key, T obj)