Package net.sourceforge.plantuml.ftp
Class FtpServer
- java.lang.Object
-
- net.sourceforge.plantuml.ftp.FtpServer
-
public class FtpServer extends Object
-
-
Constructor Summary
Constructors Constructor Description FtpServer(int listenPort, FileFormat defaultfileFormat)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCharset()
int
getFreePort()
FtpConnexion
getFtpConnexion(String user)
String
getIpServer()
void
go()
static void
main(String[] args)
void
processImage(FtpConnexion connexion, String name)
-
-
-
Constructor Detail
-
FtpServer
public FtpServer(int listenPort, FileFormat defaultfileFormat)
-
-
Method Detail
-
getFreePort
public int getFreePort()
-
go
public void go() throws IOException
- Throws:
IOException
-
getIpServer
public String getIpServer()
-
getFtpConnexion
public FtpConnexion getFtpConnexion(String user)
-
main
public static void main(String[] args) throws IOException
- Throws:
IOException
-
processImage
public void processImage(FtpConnexion connexion, String name)
-
getCharset
public final String getCharset()
-
-