Methods Summary |
---|
public long | createTime()
return 0L;
|
public boolean | equals(java.lang.Object obj)
if (obj instanceof SmbShareInfo) {
SmbShareInfo si = (SmbShareInfo)obj;
return netName.equals(si.netName);
}
return false;
|
public int | getAttributes()
return SmbFile.ATTR_READONLY | SmbFile.ATTR_DIRECTORY;
|
public java.lang.String | getName()
return netName;
|
public int | getType()
/* 0x80000000 means hidden but SmbFile.isHidden() checks for $ at end
*/
switch (type & 0xFFFF) {
case 1:
return SmbFile.TYPE_PRINTER;
case 3:
return SmbFile.TYPE_NAMED_PIPE;
}
return SmbFile.TYPE_SHARE;
|
public int | hashCode()
int hashCode = netName.hashCode();
return hashCode;
|
public long | lastModified()
return 0L;
|
public long | length()
return 0L;
|
public java.lang.String | toString()
return new String( "SmbShareInfo[" +
"netName=" + netName +
",type=0x" + Hexdump.toHexString( type, 8 ) +
",remark=" + remark + "]" );
|