KIE NIO.2 :: Model 6.0.0.CR4-Pre1

org.kie.commons.java.nio.base
Class FileTimeImpl

java.lang.Object
  extended by org.kie.commons.java.nio.base.FileTimeImpl
All Implemented Interfaces:
Comparable<FileTime>, FileTime

public class FileTimeImpl
extends Object
implements FileTime


Constructor Summary
FileTimeImpl()
           
FileTimeImpl(long lastModified)
           
 
Method Summary
 int compareTo(FileTime o)
           
 long to(TimeUnit unit)
           
 long toMillis()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileTimeImpl

public FileTimeImpl()

FileTimeImpl

public FileTimeImpl(long lastModified)
Method Detail

to

public long to(TimeUnit unit)
Specified by:
to in interface FileTime

toMillis

public long toMillis()
Specified by:
toMillis in interface FileTime

compareTo

public int compareTo(FileTime o)
Specified by:
compareTo in interface Comparable<FileTime>

KIE NIO.2 :: Model 6.0.0.CR4-Pre1

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.