Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for last_modified (0.22 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbFile.java

     *
     * @return the last modified data as milliseconds since Jan 1, 1970
     */
        public long getDate() {
            try {
                return lastModified();
            } catch( SmbException se ) {
            }
            return 0L;
        }
    
    /**
     * This URLConnection method just returns the result of <tt>lastModified</tt>.
     *
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  2. src/main/java/jcifs/smb/SmbFile.java

             * this.type = type == TYPE_WORKGROUP ? 0 : type;
             */
            this.fileLocator.updateType(type);
            this.attributes = attributes;
            this.createTime = createTime;
            this.lastModified = lastModified;
            this.lastAccess = lastAccess;
            this.size = size;
            this.isExists = true;
    
            if ( loadedAttributes ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/http/NetworkExplorer.java

                return f1.isDirectory() ? -1 : 1;
            }
            if ( f1.isDirectory() ) {
                return f1name.compareToIgnoreCase(f2.getName());
            }
            return f1.lastModified() > f2.lastModified() ? -1 : 1;
        }
    
    
        @SuppressWarnings ( "resource" )
        protected void doDirectory ( HttpServletRequest req, HttpServletResponse resp, SmbFile dir ) throws IOException {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 21.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                return f1.isDirectory() ? -1 : 1;
            }
            if( f1.isDirectory() ) {
                return f1name.compareToIgnoreCase( f2.getName() );
            }
            return f1.lastModified() > f2.lastModified() ? -1 : 1;
        }
        protected void doDirectory( HttpServletRequest req, HttpServletResponse resp, SmbFile dir ) throws IOException {
            PrintWriter out;
            SmbFile[] dirents;
            SmbFile f;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Wed Jan 22 03:57:31 GMT 2020
    - 19.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/DirFileEntryAdapterIterator.java

            return new SmbFile(
                getParent(),
                e.getName(),
                true,
                SmbConstants.TYPE_FILESYSTEM,
                e.getAttributes(),
                e.createTime(),
                e.lastModified(),
                e.lastAccess(),
                e.length());
        }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/SmbResource.java

         * <tt>createTime()</tt>, <tt>lastModified()</tt>, <tt>lastAccess()</tt> methods.
         * <br>
         * This method does not apply to workgroups, servers, or shares.
         * 
         * @see #setCreateTime
         * @see #setLastAccess
         * @see #setLastModified
         *
         * @param createTime
         *            the create time as milliseconds since Jan 1, 1970
         * @param lastModified
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Dec 20 14:09:34 GMT 2020
    - 26K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/net/NetServerEnum2Response.java

                return 0;
            }
    
    
            @Override
            public long createTime () {
                return 0L;
            }
    
    
            @Override
            public long lastModified () {
                return 0L;
            }
    
    
            @Override
            public long lastAccess () {
                return 0L;
            }
    
    
            @Override
            public long length () {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java

            }
            public int getAttributes() {
                return extFileAttributes;
            }
            public long createTime() {
                return creationTime;
            }
            public long lastModified() {
                return lastWriteTime;
            }
            public long length() {
                return endOfFile;
            }
    
            public String toString() {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/Lmhosts.java

                    long lm;
    
                    if ( ( lm = f.lastModified() ) > this.lastModified ) {
                        if ( log.isDebugEnabled() ) {
                            log.debug("Reading " + tc.getConfig().getLmHostsFileName());
                        }
                        this.lastModified = lm;
                        this.table.clear();
                        try ( FileReader r = new FileReader(f) ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/FileAttributesTest.java

                        int diff = Math.abs((int) ( ( time / 1000 ) - ( f.lastModified() / 1000 ) ));
                        Assert.assertTrue("Have set time correctly", diff < 2);
                    }
                    else {
                        assertEquals(time, f.lastModified());
                    }
                }
                catch ( SmbUnsupportedOperationException e ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
Back to top