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 Instance Methods Concrete Methods Modifier and Type Method Description StringLocatedappend(java.lang.String endOfLine)charcharAt(int i)longgetFoxSignature()LineLocationgetLocation()java.lang.StringgetPreprocessorError()java.lang.StringgetString()StringLocatedgetTrimmed()TLineTypegetType()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
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
append
public StringLocated append(java.lang.String 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)
-
-