Class StringUtils
java.lang.Object
org.apache.maven.surefire.api.util.internal.StringUtils
Common java.lang.String
manipulation routines.
Originally from Turbine and the GenerationJavaCore library.
NOTE: This class is not part of any api and is public purely for technical reasons !
- Since:
- 1.0
- Version:
- $Id: StringUtils.java 8001 2009-01-03 13:17:09Z vsiveton $
- Author:
- Jon S. Stevens, Daniel Rall, Greg Coladonato, Henri Yandell, Ed Korthof, Rand McNeely, Stephen Colebourne, Fredrik Westermarck, Holger Krauth, Alexander Day Chaffee, Vincent Siveton
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String[]
static boolean
startsWith
(StringBuffer buffer, String pattern) Determines ifbuffer
starts with specific literal(s).
-
Field Details
-
NL
-
-
Method Details
-
split
-
startsWith
Determines ifbuffer
starts with specific literal(s).- Parameters:
buffer
- Examined StringBufferpattern
- a pattern which should start inbuffer
- Returns:
true
if buffer's literal starts with givenpattern
, or both are empty.
-