gov.nasa.pds.tools.util
Class Utility

java.lang.Object
  extended by gov.nasa.pds.tools.util.Utility

public class Utility
extends Object


Constructor Summary
Utility()
           
 
Method Summary
static String stripOnlyWhitespaceAndNewLine(String value)
          Strips only newline characters and extra whitespaces.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utility

public Utility()
Method Detail

stripOnlyWhitespaceAndNewLine

public static String stripOnlyWhitespaceAndNewLine(String value)
Strips only newline characters and extra whitespaces.

Parameters:
value - A string value.
Returns:
The filtered value.


Copyright © 2005–2013 Planetary Data System. All rights reserved.