Package net.sourceforge.plantuml.text
Class StringLocated
- java.lang.Object
-
- net.sourceforge.plantuml.text.StringLocated
-
public final class StringLocated extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description StringLocated(java.lang.String s, LineLocation location)
StringLocated(java.lang.String s, LineLocation location, java.lang.String preprocessorError)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringLocated
append(char endOfLine)
StringLocated
append(java.lang.String endOfLine)
char
charAt(int i)
java.util.List<StringLocated>
expandsBreaklineButEmbedded()
java.util.List<StringLocated>
expandsJawsForPreprocessor()
java.util.List<StringLocated>
expandsNewline()
static java.util.List<java.lang.String>
expandsNewline(java.lang.String s)
long
getFoxSignature()
LineLocation
getLocation()
java.lang.String
getPreprocessorError()
java.lang.String
getString()
StringLocated
getTrimmed()
TLineType
getType()
StringLocated
jawsHideBackslash()
int
length()
StringLocated
mergeEndBackslash(StringLocated next)
StringLocated
removeInnerComment()
StringLocated
substring(int start)
StringLocated
substring(int start, int end)
java.lang.String
toString()
StringLocated
withErrorPreprocessor(java.lang.String preprocessorError)
-
-
-
Constructor Detail
-
StringLocated
public StringLocated(java.lang.String s, LineLocation location)
-
StringLocated
public StringLocated(java.lang.String s, LineLocation location, java.lang.String preprocessorError)
-
-
Method Detail
-
expandsJawsForPreprocessor
public java.util.List<StringLocated> expandsJawsForPreprocessor()
-
expandsNewline
public java.util.List<StringLocated> expandsNewline()
-
expandsBreaklineButEmbedded
public java.util.List<StringLocated> expandsBreaklineButEmbedded()
-
jawsHideBackslash
public StringLocated jawsHideBackslash()
-
expandsNewline
public static java.util.List<java.lang.String> expandsNewline(java.lang.String s)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
append
public StringLocated append(java.lang.String endOfLine)
-
append
public StringLocated append(char endOfLine)
-
mergeEndBackslash
public StringLocated mergeEndBackslash(StringLocated next)
-
withErrorPreprocessor
public StringLocated withErrorPreprocessor(java.lang.String preprocessorError)
-
substring
public StringLocated substring(int start, int end)
-
substring
public StringLocated substring(int start)
-
getTrimmed
public StringLocated getTrimmed()
-
removeInnerComment
public StringLocated removeInnerComment()
-
getString
public java.lang.String getString()
-
getLocation
public LineLocation getLocation()
-
getPreprocessorError
public java.lang.String getPreprocessorError()
-
getFoxSignature
public long getFoxSignature()
-
getType
public TLineType getType()
-
length
public int length()
-
charAt
public char charAt(int i)
-
-