Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 66 for SmbFile (0.15 sec)

  1. src/main/java/jcifs/smb/SmbNamedPipe.java

     * Named Pipes</a> for a detailed description of how to use jCIFS with
     * Win32 Named Pipe server processes.
     *
     */
    
    public class SmbNamedPipe extends SmbFile implements SmbPipeResource {
    
        private final int pipeType;
    
    
        /**
         * Open the Named Pipe resource specified by the url
         * parameter. The pipeType parameter should be at least one of
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFileFilter.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.smb1;
    
    public interface SmbFileFilter {
        public boolean accept( SmbFile file ) throws SmbException;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 974 bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java

        }
    
    
        private final boolean filter ( FileEntry fe ) {
            String name = fe.getName();
            if ( name.length() < 3 ) {
                int h = name.hashCode();
                if ( h == SmbFile.HASH_DOT || h == SmbFile.HASH_DOT_DOT ) {
                    if ( name.equals(".") || name.equals("..") )
                        return false;
                }
            }
            if ( this.nameFilter == null ) {
                return true;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/NetServerFileEntryAdapterIterator.java

        }
    
    
        /**
         * @param fe
         * @return
         * @throws MalformedURLException
         */
        @Override
        protected SmbResource adapt ( FileEntry e ) throws MalformedURLException {
            return new SmbFile(getParent(), e.getName(), false, e.getType(), SmbConstants.ATTR_READONLY | SmbConstants.ATTR_DIRECTORY, 0L, 0L, 0L, 0L);
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/DosFileFilter.java

     * support filtering by all attributes (e.g. even though ATTR_DIRECTORY was
     * specified the server may still return objects that are not directories).
     */
        public boolean accept( SmbFile file ) throws SmbException {
            return (file.getAttributes() & attributes) != 0;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 1.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/Handler.java

        protected int getDefaultPort() {
            return SmbConstants.DEFAULT_PORT;
        }
        public URLConnection openConnection( URL u ) throws IOException {
            return new SmbFile( u );
        }
        protected void parseURL( URL u, String spec, int start, int limit ) {
            String host = u.getHost();
            String path, ref;
            int port;
    
            if( spec.equals( "smb1://" )) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/net/SmbShareInfo.java

         */
        @Override
        public int getFileIndex () {
            return 0;
        }
    
    
        @Override
        public int getType () {
            /*
             * 0x80000000 means hidden but SmbFile.isHidden() checks for $ at end
             */
            switch ( this.type & 0xFFFF ) {
            case 1:
                return SmbConstants.TYPE_PRINTER;
            case 3:
                return SmbConstants.TYPE_NAMED_PIPE;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Feb 17 09:30:57 GMT 2019
    - 3.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/DosFileFilter.java

         * support filtering by all attributes (e.g. even though ATTR_DIRECTORY was
         * specified the server may still return objects that are not directories).
         */
        @Override
        public boolean accept ( SmbFile file ) throws SmbException {
            return ( file.getAttributes() & this.attributes ) != 0;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbFileFilter.java

     * 
     * 
     */
    public interface SmbFileFilter {
    
        /**
         * 
         * @param file
         * @return whether the given file should be included
         * @throws SmbException
         */
        public boolean accept ( SmbFile file ) throws SmbException;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/TransactNamedPipeOutputStream.java

        private byte[] tmp = new byte[1];
        private boolean dcePipe;
    
        TransactNamedPipeOutputStream( SmbNamedPipe pipe ) throws IOException {
            super(pipe, false, (pipe.pipeType & 0xFFFF00FF) | SmbFile.O_EXCL);
            this.pipe = pipe;
            this.dcePipe = ( pipe.pipeType & SmbNamedPipe.PIPE_TYPE_DCE_TRANSACT ) == SmbNamedPipe.PIPE_TYPE_DCE_TRANSACT;
            path = pipe.unc;
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.6K bytes
    - Viewed (0)
Back to top