Skip navigation links


com.essbase.eas.utils
Interface RandomAccessFileListWriter

All Known Implementing Classes:
RandomAccessFileListModel.ListRenderer, RandomAccessFileListModel.TextFileRenderer, RandomAccessFileListModel.TextRenderer, VFindListModel.MemberRenderer

public interface RandomAccessFileListWriter

Title: RandomAccessFileListRenderer Description: Copyright: Copyright (c) 2003 Company: Hyperion Solutions, Inc.

Version:
1.0
Author:
Sree Menon

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

 

Method Detail

getCount

long getCount()
The nunber of objects to write.
Returns:
-1 if the number is nor known

writeObject

boolean writeObject(java.io.RandomAccessFile raf,
                    long index)
                    throws java.io.IOException
writes each object to the file
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, 2012, Oracle. All rights reserved.