Jio Gim, Creative IT Engineering, POSTECH
Student ID: 20160087, Povis ID: iknowme
-
Book
I used;(semicolon)
instead of JSON. Because of time lack so I didn't tested about this, but I think that using JSON stringifier/parser on every Book instance may use a lot of memory resources when if there're astronomical amounts of books.Title: "The Restless Wave: Good Times, Just Causes, Great Fights, and Other Appreciations" Authors: "John McCain" and "Mark Salter" = 'The Restless Wave: Good Times, Just Causes, Great Fights, and Other Appreciations;John McCain\;Mark Salter' Title: "Null Book" Authors: "AuthorA" and "A;u;t;h;o;r;B" = 'Null Book;AuthorA\;A\\;u\\;t\\;h\\;o\\;r\\;B'
-
Collection
Amounts of collections are highly limited, and structure is more complicated, so I think it is more efficient to use JSON in this part. -
Library (Data Save & Load)
I used Kryo and Jasypt. Because I don't like DB to be exposed.
Book.escape
A function for escape semicolons to make string representation.Book.unescape
A function for unescape semicolons to interpret string representation.Library.addCollection
A function for addition of collections to specific library.
Please set your console's code page to UTF-8(65001).
Please move repository to the path which does not cotain non-ASCII characters.
- Option 1: Please turn off UTF-8(Beta) feature on latest Windows 10. It's not stable, so Microsoft basically disabled by default this feature for now.
- Option 2: Please use WSL shell instead of CMD or PowerShell.