/** * Counts how many times a word appears in a line. Case insensitive matching. * * @deprecated Corrected spelling */ @Deprecated public static int countOccurances(byte[] buff, int len, String word) { return countOccurrences(buff, len, word); }
/** * Counts how many times a word appears in a line. Case insensitive matching. * * @deprecated Corrected spelling */ @Deprecated public static int countOccurances(byte[] buff, String word) { return countOccurrences(buff, word); }
/** * Counts how many times a word appears in a line. Case insensitive matching. * * @deprecated Corrected spelling */ @Deprecated public static int countOccurances(String line, String word) { return countOccurrences(line, word); }