public static Map < String , String > getData ( AbstractBlockHolder holder ) { BlockProperty p = holder . findPropertyBlockByName ( ParsingConstants . PROPERTY_INSTANCE_DATA ) ; Map < String , String > result = new HashMap <> ( ) ; String propertyValue = p == null ? null : p . getValue ( ) ; for ( String s : Utils . splitNicely ( propertyValue , ParsingConstants . PROPERTY_SEPARATOR ) ) { Map . Entry < String , String > entry = VariableHelpers . parseExportedVariable ( s ) ; result . put ( entry . getKey ( ) , entry . getValue ( ) ) ; } return result ; }
Gets and splits data separated by a comma .