public String getValue ( ) { StringBuilder b = new StringBuilder ( open ? "[" : "(" ) ; for ( int p = 0 ; p < points . length ; p ++ ) { if ( p > 0 ) { b . append ( "," ) ; } b . append ( points [ p ] . toString ( ) ) ; } b . append ( open ? "]" : ")" ) ; return b . toString ( ) ; }
This returns the path in the syntax expected by org . postgresql .