Package com.dd.plist
Class ASCIILocationInformation
java.lang.Object
com.dd.plist.LocationInformation
com.dd.plist.ASCIILocationInformation
Information about the location of an NSObject within an ASCII property list file.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGets the column number.Gets a description of the object location.intGets the line number.intGets the offset of the NSObject inside the file.Methods inherited from class com.dd.plist.LocationInformation
toString
-
Field Details
-
offset
private final int offset -
lineNo
private final int lineNo -
column
private final int column
-
-
Constructor Details
-
ASCIILocationInformation
ASCIILocationInformation(int offset, int lineNo, int column)
-
-
Method Details
-
getOffset
public int getOffset()Gets the offset of the NSObject inside the file.- Returns:
- The offset of the NSObject.
-
getLineNumber
public int getLineNumber()Gets the line number.- Returns:
- The line number, starting at 1.
-
getColumnNumber
public int getColumnNumber()Gets the column number.- Returns:
- The column, starting at 1.
-
getDescription
Description copied from class:LocationInformationGets a description of the object location.- Specified by:
getDescriptionin classLocationInformation- Returns:
- The location description.
-