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

Tar Parser is failed #144

Open
victor78 opened this issue Apr 18, 2018 · 0 comments
Open

Tar Parser is failed #144

victor78 opened this issue Apr 18, 2018 · 0 comments

Comments

@victor78
Copy link

If I try to use tar files, I'll have error with it on my system. Because the tar parser doesn't parse correctly.

When I use terminal:

> tar --version
tar (GNU tar) 1.28
Copyright (C) 2014 Free Software Foundation, Inc.

The parser thinks the version is (GNU.
I can create my own classes based on your such like AdapterContainer, GNUTarVersionProbe, TarGNUTarAdapter, GNUTarOutputParser, and so on. But it looks like hard and non-flexible way. Because different OS and versions of an archivers are required different parsers for each and every, so this situation is required some easy way to change parser.
So, how can I change each parser easily? For example, by one method or by changing one file (AdapterContainer?)?

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

No branches or pull requests

1 participant