Created
October 8, 2010 06:23
-
-
Save brianhsu/616431 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package xmlimport; | |
| import java.util.Properties; | |
| import ftp.FINJFTP; | |
| import props.PropsServiceProvider; | |
| public class DoSwapServerIndex { | |
| public static void main(String[] args) { | |
| PropsServiceProvider propsProviderProduction = new PropsServiceProvider("props/ServiceProvider.properties"); | |
| PropsServiceProvider propsProviderDevelopment = new PropsServiceProvider("props/server115.properties"); | |
| Properties propsProduction = propsProviderProduction.getProperties(); | |
| Properties propsDevelopment = propsProviderProduction.getProperties(); | |
| FINJFTP ftp218 = new FINJFTP(propsProduction, "XXX.XXX.XXX.XXX"); | |
| FINJFTP ftp5 = new FINJFTP(propsProduction, "XXX.XXX.XXX.XXX"); | |
| FINJFTP ftp115 = new FINJFTP(propsDevelopment, "XXX.XXX.XXX.XXX"); | |
| ftp218.swapIndex(); | |
| ftp115.swapIndex(); | |
| ftp5.swapIndex(); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment