inputstream - How to tell if a URL points to file that can be opened for reading -


How can I tell if a URL indicates a file, and that file is actually read without reading the file Can be opened for (if it is too big).

use in Java nio.file.files with isReadable ( Path path) :


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -