smbdav
Class BlockedFile

java.lang.Object
  extended byjava.net.URLConnection
      extended byjcifs.smb.SmbFile
          extended bysmbdav.BlockedFile

public class BlockedFile
extends jcifs.smb.SmbFile

Prohibits access to the underlying SMB resource.

Author:
Eric Glass

Field Summary
 
Fields inherited from class jcifs.smb.SmbFile
ATTR_ARCHIVE, ATTR_DIRECTORY, ATTR_HIDDEN, ATTR_READONLY, ATTR_SYSTEM, ATTR_VOLUME, FILE_NO_SHARE, FILE_SHARE_DELETE, FILE_SHARE_READ, FILE_SHARE_WRITE, TYPE_COMM, TYPE_FILESYSTEM, TYPE_NAMED_PIPE, TYPE_PRINTER, TYPE_SERVER, TYPE_SHARE, TYPE_WORKGROUP
 
Fields inherited from class java.net.URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches
 
Constructor Summary
BlockedFile(jcifs.smb.SmbFile file)
           
 
Method Summary
 boolean canRead()
           
 boolean canWrite()
           
 void connect()
           
 boolean exists()
           
 boolean isDirectory()
           
 boolean isFile()
           
 
Methods inherited from class jcifs.smb.SmbFile
copyTo, createNewFile, createTime, delete, equals, getAttributes, getCanonicalPath, getContentLength, getDate, getDfsPath, getDiskFreeSpace, getInputStream, getLastModified, getName, getParent, getPath, getServer, getShare, getType, getUncPath, hashCode, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listFiles, mkdir, mkdirs, renameTo, setAttributes, setCreateTime, setLastModified, setReadOnly, setReadWrite, toString, toURL
 
Methods inherited from class java.net.URLConnection
addRequestProperty, getAllowUserInteraction, getContent, getContent, getContentEncoding, getContentType, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFields, getIfModifiedSince, getOutputStream, getPermission, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setRequestProperty, setUseCaches
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BlockedFile

public BlockedFile(jcifs.smb.SmbFile file)
            throws java.net.MalformedURLException
Method Detail

connect

public void connect()
             throws java.io.IOException
Throws:
java.io.IOException

exists

public boolean exists()

canRead

public boolean canRead()

canWrite

public boolean canWrite()

isDirectory

public boolean isDirectory()

isFile

public boolean isFile()


Copyright © 2004 Eric Glass