Added new methods to return error messages as text. · javaxt-project/javaxt-core@819c53b · GitHub
Skip to content

Commit 819c53b

Browse files
committed
Added new methods to return error messages as text.
git-svn-id: svn://192.168.0.80/JavaXT/javaxt-core@100 2c7b0aa6-e0b2-3c4e-bb4a-8b65b6c465ff
1 parent c0b3c62 commit 819c53b

3 files changed

Lines changed: 48 additions & 17 deletions

File tree

‎src/javaxt/http/Response.java‎

Lines changed: 39 additions & 13 deletions

‎src/javaxt/io/File.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ public Image getImage(){
501501
*/
502502
public String getText(){
503503
try{
504-
return getText("UTF-8"); //ISO-8859-1
504+
return getText("UTF-8");
505505
}
506506
catch(Exception e){}
507507
try{

‎src/javaxt/utils/URL.java‎

Lines changed: 8 additions & 3 deletions

0 commit comments

Comments
 (0)