Package com.hierynomus.mssmb2
Class SMB2Error.SymbolicLinkError
java.lang.Object
com.hierynomus.mssmb2.SMB2Error.SymbolicLinkError
- All Implemented Interfaces:
SMB2Error.SMB2ErrorData
- Enclosing class:
SMB2Error
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
private SMB2Error.SymbolicLinkError
private String
readOffsettedString
(SMBBuffer buffer, int offset, int length) Read a string at an offset from the current position in the buffer.
-
Field Details
-
absolute
private boolean absolute -
unparsedPathLength
private int unparsedPathLength -
substituteName
-
printName
-
-
Constructor Details
-
SymbolicLinkError
private SymbolicLinkError()
-
-
Method Details
-
read
- Throws:
Buffer.BufferException
-
readOffsettedString
private String readOffsettedString(SMBBuffer buffer, int offset, int length) throws Buffer.BufferException Read a string at an offset from the current position in the buffer. After reading the string the position of the buffer is reset to the position where we started.- Parameters:
offset
- The offset to read fromlength
- The length of the String to read- Returns:
- The read String
- Throws:
Buffer.BufferException
- If the buffer underflows.
-
isAbsolute
public boolean isAbsolute() -
getUnparsedPathLength
public int getUnparsedPathLength() -
getSubstituteName
-
getPrintName
-