Sunday, September 28, 2014

How to Use CutePDF From Java

Instructions

    1

    Set up your class:

    class ExampleClass

    public static void main(String[] args)


    2

    Create a "Process" object:

    public static void main(String[] args)
    Process p;

    3

    Use the Process object to call CuteFtp from the command line. This opens a separate process running CuteFTP that the user can interact with. The command for opening the file depends on the host operating system:

    public static void main(String[] args)

    Process p;
    p = Runtime.getRuntime().exec("open CuteFTP.app"); //MacOS



No comments:

Post a Comment