Answer the question
In order to leave comments, you need to log in
Java, reading a file
Good day, the question, it would seem, is extremely banal - you need to read the file from the local disk.
What I am doing now:
...
Book b = new Book();
try{
EpubReader reader = new EpubReader();
File file = new File("E://FW//1.epub");
FileInputStream fis = new FileInputStream(file);
InputStream is = fis;
fis.close();
b = reader.readEpub(is);
}
catch(Exception e){
...
}
return b;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question