Path parameter to FileInputStream


A basic discovery about FileInputStream šŸ™‚
FileInput stream always takes a absolute path

new FileInputStream("must be an absolute path")

.. if a relative path is given and even if that relative path is added in the class path then also it will not work.

Advertisements

About ChandanPandey

Try to come up with a good design as by product of good coding practices

Posted on August 29, 2012, in Java and tagged . Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: