FileDocCategorySizeDatePackage
SmbComDelete.javaAPI DocJCIFS 1.3.17 API2009Tue Oct 18 15:26:24 BST 2011jcifs.smb

SmbComDelete

public class SmbComDelete extends ServerMessageBlock

Fields Summary
private int
searchAttributes
Constructors Summary
SmbComDelete(String fileName)

        this.path = fileName;
        command = SMB_COM_DELETE;
        searchAttributes = ATTR_HIDDEN | ATTR_HIDDEN | ATTR_SYSTEM;
    
Methods Summary
intreadBytesWireFormat(byte[] buffer, int bufferIndex)

        return 0;
    
intreadParameterWordsWireFormat(byte[] buffer, int bufferIndex)

        return 0;
    
public java.lang.StringtoString()

        return new String( "SmbComDelete[" +
            super.toString() +
            ",searchAttributes=0x" + Hexdump.toHexString( searchAttributes, 4 ) +
            ",fileName=" + path + "]" );
    
intwriteBytesWireFormat(byte[] dst, int dstIndex)

        int start = dstIndex;

        dst[dstIndex++] = (byte)0x04;
        dstIndex += writeString( path, dst, dstIndex );

        return dstIndex - start;
    
intwriteParameterWordsWireFormat(byte[] dst, int dstIndex)

        writeInt2( searchAttributes, dst, dstIndex );
        return 2;