Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

codjo-test - Modification FileUtil #48

Closed
codjo opened this issue May 30, 2014 · 0 comments
Closed

codjo-test - Modification FileUtil #48

codjo opened this issue May 30, 2014 · 0 comments

Comments

@codjo
Copy link
Owner

codjo commented May 30, 2014

Publish Date2008/03/06Bygonnot

Ajout de la méthode `loadContent(URL)` sur la classe `FileUtil`. Cette méthode permet de charger le contenu d'un fichier à partir d'une URL.

Exemple : Chargement d'une ressource et d'une page HTML.

String expected = FileUtil.loadContent(getClass().getResource("google-main.txt"));
String actual = FileUtil.loadContent(new URL("http://google.com"));
@codjo codjo closed this as completed May 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant