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 StringLocatedappend(char endOfLine)StringLocatedappend(java.lang.String endOfLine)charcharAt(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)longgetFoxSignature()LineLocationgetLocation()java.lang.StringgetPreprocessorError()java.lang.StringgetString()StringLocatedgetTrimmed()TLineTypegetType()StringLocatedjawsHideBackslash()intlength()StringLocatedmergeEndBackslash(StringLocated next)StringLocatedremoveInnerComment()StringLocatedsubstring(int start)StringLocatedsubstring(int start, int end)java.lang.StringtoString()StringLocatedwithErrorPreprocessor(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:
toStringin 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)
-
-