Class Entry

java.lang.Object
com.acanx.util.properties.Entry

public class Entry extends Object
  • Constructor Details

    • Entry

      public Entry(Entry.Type type, String rawLine)
      构造
      Parameters:
      type - 类型呢
      rawLine - line
    • Entry

      public Entry(String key, String value, String separator)
      构造属性
      Parameters:
      key - 键
      value - 值
      separator - 间隔符
  • Method Details

    • getType

      public Entry.Type getType()
      getType
      Returns:
      类型
    • getComment

      public String getComment()
      getComment
      Returns:
      注释
    • getKey

      public String getKey()
      getKey
      Returns:
    • getValue

      public String getValue()
      getValue
      Returns:
    • setValue

      public void setValue(String value)
      setValue
      Parameters:
      value - 值
    • getSeparator

      public String getSeparator()
      getSeparator
      Returns:
      间隔符
    • toString

      public String toString()
      Overrides:
      toString in class Object