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 boolean
absolute
private java.lang.String
printName
private java.lang.String
substituteName
private int
unparsedPathLength
-
Constructor Summary
Constructors Modifier Constructor Description private
SymbolicLinkError()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getPrintName()
java.lang.String
getSubstituteName()
int
getUnparsedPathLength()
boolean
isAbsolute()
private SMB2Error.SymbolicLinkError
read(SMBBuffer buffer)
private java.lang.String
readOffsettedString(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()
-
-