Advertisement
Guest User

Untitled

a guest
May 30th, 2015
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. String langCode;
  2. String phrase = "";
  3. if(!args[0].equals("en") || args[0].equals("es") || args[0].equals("nl")) throw new Exception("language not available");
  4. else {
  5. langCode=args[0];
  6. }
  7. for(int i=1;i<args.length;i++) {
  8. phrase += args[i]+" ";
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement