Skip navigation links


com.essbase.eas.utils
Class RandomAccessFileListModel.TextRenderer

java.lang.Object
  extended by com.essbase.eas.utils.RandomAccessFileListModel.TextRenderer

All Implemented Interfaces:
RandomAccessFileListWriter
Enclosing class:
RandomAccessFileListModel

public class RandomAccessFileListModel.TextRenderer
extends java.lang.Object
implements RandomAccessFileListWriter

Constructor Summary
RandomAccessFileListModel.TextRenderer(java.lang.String content, boolean includeCR)
           

 

Method Summary
 long getCount()
          The nunber of objects to write.
 boolean writeObject(java.io.RandomAccessFile raf, long index)
          writes each object to the file

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

RandomAccessFileListModel.TextRenderer

public RandomAccessFileListModel.TextRenderer(java.lang.String content,
                                              boolean includeCR)

Method Detail

getCount

public long getCount()
Description copied from interface: RandomAccessFileListWriter
The nunber of objects to write.
Specified by:
getCount in interface RandomAccessFileListWriter
Returns:
-1 if the number is nor known

writeObject

public boolean writeObject(java.io.RandomAccessFile raf,
                           long index)
                    throws java.io.IOException
Description copied from interface: RandomAccessFileListWriter
writes each object to the file
Specified by:
writeObject in interface RandomAccessFileListWriter
Parameters:
raf - the output file
index - the index of the object
Returns:
true if it has more objects to write. Note that if you have returned a value for getCount(), then those number of objects will be written
Throws:
java.io.IOException

Skip navigation links


Copyright © 2001, 2007, Oracle. All rights reserved.