Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for lastModified (0.31 sec)

  1. 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)
  2. maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java

        }
    
        public String getUpdatePolicy() {
            return updatePolicy;
        }
    
        public String getChecksumPolicy() {
            return checksumPolicy;
        }
    
        public boolean checkOutOfDate(Date lastModified) {
            boolean checkForUpdates = false;
    
            if (UPDATE_POLICY_ALWAYS.equals(updatePolicy)) {
                checkForUpdates = true;
            } else if (UPDATE_POLICY_DAILY.equals(updatePolicy)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

                this.artifact = ArtifactUtils.copyArtifact(artifact);
                if ("pom".equals(artifact.getType()) && file != null) {
                    pomHash = file.getPath().hashCode() + file.lastModified();
                } else {
                    pomHash = 0;
                }
                this.resolveManagedVersions = resolveManagedVersions;
                this.repositories.add(localRepository);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 11.8K bytes
    - Viewed (0)
  6. 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)
  7. src/main/java/org/codelibs/fess/app/web/admin/log/AdminLogAction.java

                        map.put("id", Base64.getUrlEncoder().encodeToString(name.getBytes(StandardCharsets.UTF_8)));
                        map.put("name", name);
                        try {
                            map.put("lastModified", new Date(Files.getLastModifiedTime(filePath).toMillis()));
                        } catch (final IOException e) {
                            throw new IORuntimeException(e);
                        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  8. 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 May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  9. 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)
  10. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            // last_modified
            final Date lastModified = responseData.getLastModified();
            if (lastModified != null) {
                putResultDataBody(dataMap, fessConfig.getIndexFieldLastModified(), lastModified);
                // timestamp
                putResultDataBody(dataMap, fessConfig.getIndexFieldTimestamp(), lastModified);
            } else {
                // timestamp
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 41.9K bytes
    - Viewed (0)
Back to top