Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should Field.getValue(..) receive a "FileInfo"/"WorkItem" object rather than just a plain String? #6

Open
meisl opened this issue Jan 14, 2014 · 0 comments
Labels

Comments

@meisl
Copy link
Owner

meisl commented Jan 14, 2014

the thing would at least have

  • String fileName()
  • Path getPath()
  • long size()
  • FileTime lastModified()
  • FileChannel open(OpenOptions...) [to encourage use of java.nio, s.t. abortion is supported automatically]

Since keeping state in instance members (of the Field impl) must be avoided, the FileInfo/WorkItem could be used for that, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant