TV-Browser 2.7.5 API

primarydatamanager.mirrorupdater.data
Class FtpDataTarget

java.lang.Object
  extended by primarydatamanager.mirrorupdater.data.FtpDataTarget
All Implemented Interfaces:
DataTarget

public class FtpDataTarget
extends Object
implements DataTarget

Author:
Til Schneider, www.murfman.de

Constructor Summary
FtpDataTarget(String serverUrl, String path, int port, String user, String password)
           
 
Method Summary
 void close()
           
 void deleteFile(String fileName)
           
 String[] listFiles()
           
 void writeFile(String fileName, byte[] data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FtpDataTarget

public FtpDataTarget(String serverUrl,
                     String path,
                     int port,
                     String user,
                     String password)
              throws UpdateException
Throws:
UpdateException
Method Detail

listFiles

public String[] listFiles()
                   throws UpdateException
Specified by:
listFiles in interface DataTarget
Throws:
UpdateException

deleteFile

public void deleteFile(String fileName)
                throws UpdateException
Specified by:
deleteFile in interface DataTarget
Throws:
UpdateException

writeFile

public void writeFile(String fileName,
                      byte[] data)
               throws UpdateException
Specified by:
writeFile in interface DataTarget
Throws:
UpdateException

close

public void close()
           throws UpdateException
Specified by:
close in interface DataTarget
Throws:
UpdateException

TV-Browser 2.7.5 API

TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)