Package com.hierynomus.mssmb2
Class SMB2Error.SymbolicLinkError
- java.lang.Object
-
- com.hierynomus.mssmb2.SMB2Error.SymbolicLinkError
-
- All Implemented Interfaces:
SMB2Error.SMB2ErrorData
- Enclosing class:
- SMB2Error
public static class SMB2Error.SymbolicLinkError extends java.lang.Object implements SMB2Error.SMB2ErrorData
-
-
Field Summary
Fields Modifier and Type Field Description private booleanabsoluteprivate java.lang.StringprintNameprivate java.lang.StringsubstituteNameprivate intunparsedPathLength
-
Constructor Summary
Constructors Modifier Constructor Description privateSymbolicLinkError()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetPrintName()java.lang.StringgetSubstituteName()intgetUnparsedPathLength()booleanisAbsolute()private SMB2Error.SymbolicLinkErrorread(SMBBuffer buffer)private java.lang.StringreadOffsettedString(SMBBuffer buffer, int offset, int length)Read a string at an offset from the current position in the buffer.
-
-
-
Method Detail
-
read
private SMB2Error.SymbolicLinkError read(SMBBuffer buffer) throws Buffer.BufferException
- Throws:
Buffer.BufferException
-
readOffsettedString
private java.lang.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
public java.lang.String getSubstituteName()
-
getPrintName
public java.lang.String getPrintName()
-
-