Package com.geekhub.lessons.lessonFive.sourse

Examples of com.geekhub.lessons.lessonFive.sourse.URLSourceProvider


public class TranslatorController {

    public static void main(String[] args) throws IOException {
        SourceLoader sourceLoader = new SourceLoader();
        Translator translator = new Translator(new URLSourceProvider());
        System.out.println("Input source to translate or type 'exit' to exit...");
        Scanner scanner = new Scanner(System.in);
        String command = scanner.next();
        while (!"exit".equals(command)) try {
            String source = sourceLoader.loadSource(command);
View Full Code Here

TOP

Related Classes of com.geekhub.lessons.lessonFive.sourse.URLSourceProvider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.