Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for lastModified (0.29 sec)

  1. src/main/java/org/codelibs/core/misc/DynamicProperties.java

            final long timestamp = propertiesFile.lastModified();
            if (timestamp <= lastModified) {
                return false;
            }
    
            return true;
        }
    
        public synchronized void load() {
            final Properties prop = new Properties();
            try (final FileInputStream fis = new FileInputStream(propertiesFile)) {
                lastModified = propertiesFile.lastModified();
                prop.load(fis);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

                final Date lastModified = FessFunctions.parseDate(lastModifiedObj.toString());
                if (lastModified != null) {
                    return lastModified;
                }
            } else if ((lastModifiedObj instanceof final String[] lastModifieds) && (lastModifieds.length > 0)) {
                final Date lastModified = FessFunctions.parseDate(lastModifieds[0]);
                if (lastModified != null) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

                        return true;
                    }
    
                    final Date lastModified = DocumentUtil.getValue(document, fessConfig.getIndexFieldLastModified(), Date.class);
                    if (lastModified == null) {
                        return true;
                    }
                    urlQueue.setLastModified(lastModified.getTime());
                    log(logHelper, LogType.CHECK_LAST_MODIFIED, crawlerContext, urlQueue);
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  4. 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 May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  5. 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 May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.1K bytes
    - Viewed (0)
  6. 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 May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbCopyUtil.java

                    if ( dh.hasCapability(SmbConstants.CAP_NT_SMBS) ) {
                        dest.setPathInformation(src.getAttributes(), src.createTime(), src.lastModified(), src.lastAccess());
                    }
                    else {
                        dest.setPathInformation(src.getAttributes(), 0L, src.lastModified(), 0L);
                    }
                }
                catch ( SmbUnsupportedOperationException e ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 17.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/Lmhosts.java

            try {
                if( FILENAME != null ) {
                    File f = new File( FILENAME );
                    long lm;
    
                    if(( lm = f.lastModified() ) > lastModified ) {
                        lastModified = lm;
                        TAB.clear();
                        alt = 0;
                        populate( new FileReader( f ));
                    }
                    result = (NbtAddress)TAB.get( name );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 5.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/FileEntry.java

    package jcifs.smb1.smb1;
    
    public interface FileEntry {
    
        String getName();
        int getType();
        int getAttributes();
        long createTime();
        long lastModified();
        long length();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 191 bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/net/SmbShareInfo.java

            return SmbConstants.ATTR_READONLY | SmbConstants.ATTR_DIRECTORY;
        }
    
    
        @Override
        public long createTime () {
            return 0L;
        }
    
    
        @Override
        public long lastModified () {
            return 0L;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.FileEntry#lastAccess()
         */
        @Override
        public long lastAccess () {
    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)
Back to top