Business Objects
Quark Platform Documentation
Version 1.7.1_0
Business Objects

org.openquark.cal.machine
Class AsynchronousFileWriter.FileData

java.lang.Object
  extended by org.openquark.cal.machine.AsynchronousFileWriter.FileData
Enclosing class:
AsynchronousFileWriter

public static final class AsynchronousFileWriter.FileData
extends Object

The in-memory version of a file.

Author:
Bo Ilic

Constructor Summary
AsynchronousFileWriter.FileData(org.openquark.cal.machine.ProgramResourceLocator.File fileLocator, byte[] bytes)
           
 
Method Summary
 org.openquark.cal.machine.ProgramResourceLocator.File getFileLocator()
           
 InputStream getInputStream()
           
 int getSize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsynchronousFileWriter.FileData

public AsynchronousFileWriter.FileData(org.openquark.cal.machine.ProgramResourceLocator.File fileLocator,
                                       byte[] bytes)
Method Detail

getInputStream

public InputStream getInputStream()
Returns:
the data as an input stream

getSize

public int getSize()
Returns:
size of the FileData in bytes.

getFileLocator

public org.openquark.cal.machine.ProgramResourceLocator.File getFileLocator()
Returns:
the locator for the file whose data will be written.

Business Objects
Quark Platform Documentation
Version 1.7.1_0
Business Objects

Copyright © 2007 Business Objects. All rights reserved.