org.exoplatform.services.jcr.ext.replication
Class FileDescriptor

java.lang.Object
  extended by org.exoplatform.services.jcr.ext.replication.FileDescriptor
All Implemented Interfaces:
java.lang.Comparable<FileDescriptor>

public class FileDescriptor
extends java.lang.Object
implements java.lang.Comparable<FileDescriptor>

Created by The eXo Platform SAS.

Version:
$Id: FileDescriptor.java 35186 2009-08-07 14:23:43Z pnedonosko $
Author:
Alex Reshetnyak

Constructor Summary
FileDescriptor(java.io.File f, java.io.RandomAccessFile raf, java.lang.String systemId)
          FileDescriptor constructor.
 
Method Summary
 int compareTo(FileDescriptor o)
          
 java.io.File getFile()
          getFile.
 java.io.RandomAccessFile getRandomAccessFile()
          getRandomAccessFile.
 java.lang.String getSystemId()
          getSystemId.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileDescriptor

public FileDescriptor(java.io.File f,
                      java.io.RandomAccessFile raf,
                      java.lang.String systemId)
FileDescriptor constructor.

Parameters:
f - the File object
raf - the RandomAccessFile object
systemId - The system identification String
Method Detail

getFile

public java.io.File getFile()
getFile.

Returns:
File return the File object

getRandomAccessFile

public java.io.RandomAccessFile getRandomAccessFile()
getRandomAccessFile.

Returns:
RandomAccessFile return the RandomAccessFile object

getSystemId

public java.lang.String getSystemId()
getSystemId.

Returns:
String return the system identification String

compareTo

public int compareTo(FileDescriptor o)

Specified by:
compareTo in interface java.lang.Comparable<FileDescriptor>


Copyright © 2011 eXo Platform SAS. All Rights Reserved.