クラスの使用
jcifs.smb.SmbFile
-
SmbFileを使用しているパッケージ パッケージ 説明 jcifs.http jcifs.smb -
-
jcifs.httpでのSmbFileの使用
SmbFile型のパラメータを持つjcifs.httpのメソッド 修飾子とタイプ メソッド 説明 protected intNetworkExplorer. compareDates(SmbFile f1, String f1name, SmbFile f2)推奨されていません。protected intNetworkExplorer. compareNames(SmbFile f1, String f1name, SmbFile f2)推奨されていません。protected intNetworkExplorer. compareSizes(SmbFile f1, String f1name, SmbFile f2)推奨されていません。protected intNetworkExplorer. compareTypes(SmbFile f1, String f1name, SmbFile f2)推奨されていません。protected voidNetworkExplorer. doDirectory(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, SmbFile dir)推奨されていません。protected voidNetworkExplorer. doFile(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, SmbFile file)推奨されていません。 -
jcifs.smbでのSmbFileの使用
jcifs.smbでのSmbFileのサブクラス 修飾子とタイプ クラス 説明 classSmbNamedPipeThis class will allow a Java program to read and write data to Named Pipes and Transact NamedPipes.SmbFileを返すjcifs.smbのメソッド 修飾子とタイプ メソッド 説明 SmbFile[]SmbFile. listFiles()List the contents of this SMB resource as an array ofSmbResourceobjects.SmbFile[]SmbFile. listFiles(String wildcard)The CIFS protocol provides for DOS "wildcards" to be used as a performance enhancement.SmbFile[]SmbFile. listFiles(SmbFileFilter filter)List the contents of this SMB resource.SmbFile[]SmbFile. listFiles(SmbFilenameFilter filter)List the contents of this SMB resource.SmbFile型のパラメータを持つjcifs.smbのメソッド 修飾子とタイプ メソッド 説明 booleanDosFileFilter. accept(SmbFile file)This returns true if the file's attributes contain any of the attributes specified for this filter.booleanSmbFileFilter. accept(SmbFile file)booleanSmbFilenameFilter. accept(SmbFile dir, String name)SmbFile型のパラメータを持つjcifs.smbのコンストラクタ コンストラクタ 説明 NetServerEnumIterator(SmbFile parent, jcifs.smb.SmbTreeHandleImpl th, String wildcard, int searchAttributes, ResourceNameFilter filter)SmbFileInputStream(SmbFile file)Creates anInputStreamfor reading bytes from a file on an SMB server represented by theSmbFileparameter.SmbFileOutputStream(SmbFile file)Creates anOutputStreamfor writing bytes to a file on an SMB server represented by theSmbFileparameter.SmbFileOutputStream(SmbFile file, boolean append)Creates anOutputStreamfor writing bytes to a file on an SMB server addressed by theSmbFileparameter.SmbRandomAccessFile(SmbFile file, String mode)Instantiate a random access file from aSmbFile
-