@@ -0,0 +1,785 @@
+package com.dmitrybrant.zimdroid;%0A%0Aimport java.io.IOException;%0Aimport java.io.InputStream;%0Aimport java.util.Locale;%0A%0Apublic class Util %7B%0A%0A    public static String capitalize(String str) %7B%0A        if (str.length() %3E= 1) %7B%0A            return str.substring(0, 1).toUpperCase(Locale.ROOT) + str.substring(1);%0A        %7D%0A        return str;%0A    %7D%0A%0A    public static void skipFully(InputStream stream, long bytes) throws IOException %7B%0A        while (bytes %3E 0) %7B%0A            bytes -= stream.skip(bytes);%0A        %7D%0A    %7D%0A%0A    @SuppressWarnings(%22checkstyle:magicnumber%22)%0A    public static int getIntLe(byte%5B%5D buffer) %7B%0A        return ((buffer%5B0%5D & 0xFF) %7C ((buffer%5B1%5D & 0xFF) %3C%3C 8)%0A                %7C ((buffer%5B2%5D & 0xFF) %3C%3C 16) %7C ((buffer%5B3%5D & 0xFF) %3C%3C 24));%0A    %7D%0A%0A    private Util() %7B%0A    %7D%0A%7D%0A

Break out some functions into Util class.