protected String stringValue ( COSBase value ) { if ( value instanceof COSString ) return ( ( COSString ) value ) . getString ( ) ; else if ( value instanceof COSNumber ) return String . valueOf ( ( ( COSNumber ) value ) . floatValue ( ) ) ; else return "" ; }
Obtains a string from a PDF value