I have the following problem:
I'm currently writing a tool which can extract e-mails from multiple sources into a database for forensic analysis. Currently, I'm writing an extractor for Lotus NSF-Files. I'm using a locally installed Domino server and I connect to the NSF-file directly using "Notes.jar". The server itself is not running!
Now i'm facing the problem when opening some nsf-files "getViews()" does not return any views at all:
lotus.notes.NotesThread.sinitThread();
s = NotesFactory.createSession();
db = s.getDatabase(null, filename, false);
List<View> views = db.getViews(); // is empty!
for (View view : views) {
String viewName = view.getName();
if (view.isFolder() | allowedNonFolderViews.contains(viewName)) {
ViewEntryCollection collection = view.getAllEntries();
....
}
}
The strange thing is that it works for some files. When I open the files in the Notes Client all folders are shown.
Does anybody know how the get a list of all views. I think it has something to do with "private folders".