Sun Adapter for File API

com.stc.connector.fileadapter.webservice
Class FileWebClientApplication

java.lang.Object
  extended by com.stc.connector.fileadapter.webservice.FileWebClientApplication

public class FileWebClientApplication
extends java.lang.Object

Implements FileClientApplication which exposes operations available for the client application.


Constructor Summary
FileWebClientApplication(FileApplicationConnection appConn)
          Constructor.
 
Method Summary
 FileOutboundConfiguration getFileOutboundConfiguration()
          Get the FileOutboundConfiguration object for setting File connection information.
 java.lang.String getKey()
           
 void write(byte[] payload)
           
 void writeContents(byte[] contents, java.lang.String fullPathOutputFile)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileWebClientApplication

public FileWebClientApplication(FileApplicationConnection appConn)
Constructor.

Parameters:
appConn - The FileApplicationConnection instance.
Method Detail

getFileOutboundConfiguration

public FileOutboundConfiguration getFileOutboundConfiguration()
                                                       throws FileApplicationException
Get the FileOutboundConfiguration object for setting File connection information.

Returns:
An FileOutboundConfiguration object for populating File connection information.
Throws:
FileApplicationException - upon error.

write

public void write(byte[] payload)
           throws java.lang.Exception
Throws:
java.lang.Exception

writeContents

public void writeContents(byte[] contents,
                          java.lang.String fullPathOutputFile)
                   throws java.lang.Exception
Throws:
java.lang.Exception

getKey

public java.lang.String getKey()

Sun Adapter for File API

Copyright © 2008 Sun Microsystems, Inc. All Rights Reserved.