Обрада фајлова чији типови нису подржани#29
Closed
miljanuscumlic wants to merge 1 commit intoeevan78:masterfrom
Closed
Обрада фајлова чији типови нису подржани#29miljanuscumlic wants to merge 1 commit intoeevan78:masterfrom
miljanuscumlic wants to merge 1 commit intoeevan78:masterfrom
Conversation
Owner
|
Промене су прихваћене уз неке измене у захтеву #30 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Овим захтевом се обезбеђује исправан рад програма када му се проследи фајл који није хтмл или текст. У том случају се исписује грешка за тај фајл.
Ако се као улазни параметар проследи директоријум, пресловиће се сви фајлови чији типови су подржани, а остали неће.
У току будућег развоја потребно је обезбедити лепши испис у случају када се наиђе на овакав фајл (не исписивати за њега улазни и излазни фајл).
Такође, због проблема код препознавања MIME типа фајла, стринг се преводи у сва мала слова. Чиме не зависимо од тога да ли нам се врата мала или велика слова.