diff options
Diffstat (limited to 'testapps/javaProjectTest/lib1/src/com/android/tests/javaprojecttest/lib1/Lib1.java')
-rw-r--r-- | testapps/javaProjectTest/lib1/src/com/android/tests/javaprojecttest/lib1/Lib1.java | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/testapps/javaProjectTest/lib1/src/com/android/tests/javaprojecttest/lib1/Lib1.java b/testapps/javaProjectTest/lib1/src/com/android/tests/javaprojecttest/lib1/Lib1.java deleted file mode 100644 index fe4a2a12b..000000000 --- a/testapps/javaProjectTest/lib1/src/com/android/tests/javaprojecttest/lib1/Lib1.java +++ /dev/null @@ -1,33 +0,0 @@ -package com.android.tests.javaprojecttest.lib1; - -import java.io.BufferedReader; -import java.io.IOException; -import java.io.InputStream; -import java.io.InputStreamReader; - -public class Lib1 { - - public static String getContent() { - InputStream input = Lib1.class.getResourceAsStream("Lib1.txt"); - if (input == null) { - return "FAILED TO FIND Lib1.txt"; - } - - BufferedReader reader = null; - try { - reader = new BufferedReader(new InputStreamReader(input, "UTF-8")); - - return reader.readLine(); - } catch (IOException e) { - } finally { - if (reader != null) { - try { - reader.close(); - } catch (IOException e) { - } - } - } - - return "FAILED TO READ CONTENT"; - } -} |