Class SegmentProperties


  • public final class SegmentProperties
    extends java.lang.Object
    Utility methods for working with segment property arrays. These arrays are simple key-value maps, where keys are on the even indexes and associated values immediately follow.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String COMMENT  
      static java.lang.String[] EMPTY_PROPS  
      static java.lang.String REFERENCE  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String[] copy​(java.lang.String[] props)  
      static java.lang.String getProperty​(java.lang.String[] props, java.lang.String key)  
      static boolean isEmpty​(java.lang.String[] props)  
      static boolean isReferenceEntry​(java.lang.String[] props)  
      static java.lang.String joinValues​(java.lang.String[] props)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • EMPTY_PROPS

        public static final java.lang.String[] EMPTY_PROPS
    • Method Detail

      • isEmpty

        public static boolean isEmpty​(java.lang.String[] props)
      • copy

        public static java.lang.String[] copy​(java.lang.String[] props)
      • joinValues

        public static java.lang.String joinValues​(java.lang.String[] props)
      • isReferenceEntry

        public static boolean isReferenceEntry​(java.lang.String[] props)
      • getProperty

        public static java.lang.String getProperty​(java.lang.String[] props,
                                                   java.lang.String key)