Le he dado muchas vueltas y sólo he obtenido mostrar todas las lineas con sus saltos de línea.
public void leerLineas(File fichero/*, String cadena*/) throws FileNotFoundException {
Scanner sc = null;
try {
sc = new Scanner(fichero);
while (sc.hasNext()) {
//if(){}
System.out.println(sc.nextLine());
}
} finally {
if (sc != null) {
sc.close();
}
}
}
public static void main(String[] args) throws IOException {
//String cadena="hola";
Actividad5 clase = new Actividad5();
File fichero = new File("C:\\Users\\samue\\Desktop\\texto.txt");
clase.leerLineas(fichero/*, cadena*/);
}