Maschell
0ed359a43a
Add default readFileToStream function wthout offset/size
2019-05-04 11:11:36 +02:00
Maschell
3eb299d3a1
Formatting and organizing imports
2019-04-26 16:44:57 +02:00
Maschell
c1f6272476
Rename functions
2019-04-26 16:42:41 +02:00
Maschell
69e0c8b36a
The size in the FSTDataProvider and NUSDataProvider functions are not Optional anymore
2019-04-26 13:44:24 +02:00
Maschell
ddee4b9f5d
Refactor and fix FST parsing.
...
- Fix a bug when parsing certain FST of system titles.
- Remove the Content reference on the FSTEntry. The Content can get be get via the TMD using getContentByIndex. To get the FSTInfo for the content use FSTUtils.getFSTInfoForContent.
- Children are added manually to a FSTEntry (getting ride of side effects).
- The NUSTitleLoader sets the FST to the dataprovider. The WUDDataProvider needs the FST to get access to the FSTContentInfo (=> calculating the offsets of the content files).
- Remove some unused functions from the FSTEntry class
- To get the FSTEntries for the certain content use getFSTEntriesByContentIndex
2019-04-26 10:08:09 +02:00
Maschell
157957f3ee
Add default implementiation for the readFile function of the FSTDataProvider interface
2019-04-26 09:57:05 +02:00
Maschell
794d4b5146
Remove "abstract" keywords from interface
2019-04-26 09:56:27 +02:00
Maschell
0d39c037ad
Increase the size of the PipedStream buffers. This increases the performance.
2019-04-24 13:28:47 +02:00
Maschell
9b38f9c8c6
The readToFile function of the FSTDataProvider Interface now does return a value value to indicate success
2019-04-19 10:56:24 +02:00
Maschell
54536f29ab
Add simple wrapper for the "readFileAsStream" function of the FSTDataProvider
2019-04-14 20:39:37 +02:00
Maschell
fbceae0558
- Replace the readFileAsStream (to InputStream) function with a default implementation in the FSTDataProvider interface. This way the implementations only need to provide a function to write into a outputstream.
...
- Optimize the readEncryptedToStream function on the DiscReader. The normal wud reader don't need to pipe the stream anymore.
2019-04-11 13:27:21 +02:00
Maschell
89d5927acd
Add a readFileToStream function to the FSTDataProvider interface while allows your to read a file to a outputstream
2019-04-11 13:14:50 +02:00
Maschell
88c0bb8a9e
Add/Update copyright information. Minor cleanup, moved some interfaces
2019-04-10 20:13:38 +02:00
Maschell
b836705e92
Add a FSTDataProvider based on NUSTitles. This will replace the DecryptionService in the future
2019-04-10 19:27:29 +02:00
Maschell
aae5feafc0
Add a interface "FSTDataProvider" which helps you getting data for a given FSTEntry
2019-04-10 18:59:39 +02:00
Maschell
44b04ea637
Formatting and organizing imports
2019-04-10 18:57:55 +02:00
Maschell
b6a5946f9e
Move some classes and interfaces
2019-04-10 18:55:40 +02:00