Czytaj plik jako ciąg

Muszę załadować plik XML jako String w Androidzie, więc mogę załadować go do biblioteki parsera TBXML xml i przeanalizować go. Implementacja, którą mam teraz, aby odczytać plik, ponieważ ciąg trwa około 2 sekund, nawet dla bardzo małego pliku xml z kilkoma KB. Czy istnieje znana szybka metoda, która może odczytać plik jako ciąg w Javie / Androidzie?

Oto kod, który mam teraz:

public static String readFileAsString(String filePath) {
    String result = "";
    File file = new File(filePath);
    if ( file.exists() ) {
        //byte[] buffer = new byte[(int) new File(filePath).length()];
        FileInputStream fis = null;
        try {
            //f = new BufferedInputStream(new FileInputStream(filePath));
            //f.read(buffer);

            fis = new FileInputStream(file);
            char current;
            while (fis.available() > 0) {
                current = (char) fis.read();
                result = result + String.valueOf(current);
            }
        } catch (Exception e) {
            Log.d("TourGuide", e.toString());
        } finally {
            if (fis != null)
                try {
                    fis.close();
                } catch (IOException ignored) {
            }
        }
        //result = new String(buffer);
    }
    return result;
}

questionAnswers(3)

yourAnswerToTheQuestion