How do I access underline file represented by an InputStream ?

I need to call an API provided by 3rd party. the API return me an InputStream which represent a file.
Is there any way I can get the underline file information through the InputStream? I'd like to get java.io.File object
to represent the underline file through the InputStream.
I was told that the actul class of InputStream is byteArrayInputStream, but I think I should not rely on this in case they change the implementation later.
Thanks

BIJ001 wrote:
lots of other thingsIncluding a (n unnamed) pipe.what does this mean? does this means a (n unnamed) pipe can be used to access underlying file to resolve my original problem?
I'm asking this question is seeking any posibility, or if proved that there is no such posibility, I will issue some change request to 3rd party.
BIJ001, could you please input few more words, you are just giving another example of InputStream as ejp said there are lot more, or you are trying to give a hints that pipe could be used to resolve my problem?
Thanks

Similar Messages

  • Newb question:  How do I access the files on my usb disk?

    I'm new to Mac, and have my airport extreme set up with my usb disk conntected, and set for file sharing. But how to I access the files that I already had backed up to my disk? Like pictures and videos and stuff that I want to use on my new Mac. I know it has to be something simple I'm just not doing, but I can't for the life of me figure it out.

    StacyW wrote:
    how to I access the files that I already had backed up to my disk?
    in finder, click on the icon of the airdisk under the shared header, wait for the connection to be established (you may need to enter your admin password), then click on the folder representing the external drive connected to your extreme.
    that should cause the drive to mount on your desktop after which you can access the files on the drive.
    JGG

  • How do I access my files saved in the cloud

    Once I filled/edited files on acrobat, I am unable to print or save, but it shows that it's automatically saved in the Cloud.  How do I access my files saved in the Cloud and how can I print the edited files?

    Welcome to the Apple Community.
    How did you store them in the cloud (back up or photo stream) and where do you want to view these photos.

  • How can we access the file/directory system in the server

    Hi friends,
    I have made a text editor attached with an audio player for my project.
    Both text editor and audio player are implemented in applet and put in to a
    jsp page using jsp:plugin. Text editor and player are separate applets running
    in the same page and from same server.A client who is using this editor may
    want to save the edited text files to the server as well as hear audio files from
    directories in the server.
    My question is how can we access the file/directory system in the server
    like we do in the local machine.When the user cliks save or openfromserver button
    in the editor, folder/files in the server must be displayed as we do with FileChooser.
    I am using Apache Tomcat 5,wiindows 2000 server, jdk1.5.
    manu

    You can't access it directly. But your applet can make net connections to the server, and the server can provide that kind of functionality. Generally this is easiest by making HTTP connections and having the server provide the functionality via the web server. (So in your case, JSPs or servlets on the server would list/deliver/create/modify/delete files, and the applets would invoke those JSPs and servlets.

  • How i can access log file in servlet?

    How i can access log file in servlet then display it to browser.
              Can i have peice of codes...
              Thanks in advance.!
              

    This is not something that can be answered easily. There is quite alot of code involved....
    To get started I suggest you read up on the built-in package 'DBMS_LOB' from Oracle . Most of what you need you should find there.
    regards Dave.

  • How can I access video file from sd card on ipad2?

    How can I access video file from sd card on ipad2?

    Your iPad 2 will see the video if:
    It's in a DCIM folder on the top level of the card (which is how most cameras do it)
    It's name is 8 characters, no more, no less (CKDI9483 for example)
    It's a format that the iPad will play
    I've made mp4's of things, folderized them right and named them 'right' and can transfer them to my iPad, so you can use a computer to make the files conform to what the iPad will see.

  • How do I access my file information in photoshop express ?

    How do i access my file information in photoshop express

    This Forum is dedicated to Photoshop proper, for queries concerning other applications please refer to the corresponding Fora.
    Photoshop Express

  • How do I access RAW files in Photos - these showed up in iPhoto but cannot be accessed in Photos even though they have been imported. Retrograde step again Apple

    How do I access RAW files in Photos - these showed up in iPhoto but cannot be accessed in Photos even though they have been imported. Retrograde step again Apple.

    Although more recent, and with newer devices, I have been trying to find this same information.  Please help!

  • I just want to see my files with explorer.  Then transfer all pics to my computer. With the new update I can't.   How do I access my file with just explorer?

    I just want to see my files with explorer.  Then transfer all pics to my computer. With the new update I can't.   How do I access my file with just explorer?

        Let's bring back your file control, jpandwibble. What happens when you connect to your computer? Are you trying to use Explorer on the device or on computer? I am eager to continue troubleshooting!
    Thank you,
    YaleK_VZW
    Follow us on Twitter @VZWsupport

  • If I preformed a factory restore, and didn't restore from time machine, how can I access my files that were backed up?

    I wiped my Mid 2009 MBP and decided not to restore from time machine backups but now I need access to a few of the files from the pervious backup, how do I access those files? The previous backups are purple and inaccessible from the time machine window.
    Details: I use a G Drive to do my Time Machine backups.

    While in Time Machine, press the key combination shift-command-C. The front window will show all mounted volumes. All snapshots should now be accessible. Select the one you want and navigate to the files you want to restore.

  • How can I access my files from iCloud drive

    How can I access my files from iCloud drive from my iPhone? Is there someway to access the data like other cloud app as Google Drive nad Dropbox.

    You access them with the App responsible for the type of file.
    Read through this: iCloud Drive FAQ - Apple Support

  • How do I access uploaded files ?

    How can I access uploaded files which have seemed to have vanished ?

    Hi,
    Please log in https://files.acrobat.com with your Adobe ID and pasdword and sort your file by "Date Added" and check if you can find the uploaded file.
    Hisami

  • HT4859 Can't access my files uploaded to iCloud, yet iCloud shows 2 out of 5 gigs used. How can I access my files?

    I recently had an issues with my old iPhone 4s. I took it in to the apple store but the night before made sure I backed up my files to iCloud. After doing so I made sure my files were backed up because it went from 0 of 5 gigs to 2 of 5 gigs used. When I got my new phone, also an 4s, I tried to recover my contacts and pictures from iCloud, yet nothing happened. When I logged into icloud.com it shows no old contacts, actually none at all. I also can't figure out how to access my old pictures and files on icloud.com. When I go to icloud's settings on my iPhone it clearly shows 2 gigs of files yet when I try to restore the files to my new phone nothing actually gets added to the new phone. How can I access these files???? Anyone have any idea??

    just tried restoring from backup and it didn't list it as one of the backup options after i wipe out the iphone yet for some reason it shows up when i go through settings>>>manage storage. thanks anyway. i may have to bite the bullet and sit and wait for a few hours at the apple store, argh...

  • PLEASE HELP. How do you access properties files in WEB-INF  and classes directory

    We have a war file that needs to access properties files that are in the WEB-INF directory
    of the war file. We also need to load one of the properties files from the classpath.
    However, when we deploy the application ( an ear which inlcludes an ejbjar and a
    war and the libraries both the ejbjar (with a manifest setting the classpath ) and
    war need ) the properties don't get extracted.
    In some of our servlets we are trying to access those files with the path "WEB-INF/foo.properties"
    and we get a FileNotFoundException. Then we check and see that NO properties files
    have been extracted into their appropriate places ( not even those we throw into
    the WEB-INF/classes directory ).
    PLEASE HELP,
    Christian Hargraves

    The file doesn't have to be extracted from the war. For example, you can place
    test.properties into your app WEB-INF and write a simple JSP to see how it
    works:
    <%
    InputStream in = application.getResourceAsStream("/WEB-INF/test.properties");
    %>
    It will return you a zip inputstream if you deployed your application as a .war.
    Christian Hargraves <[email protected]> wrote:
    I try this, but I get a NullPointerException. The file never actually gets extracted
    from the war. Under tomcat and resin this works great ( that's why I am having all
    of the trouble i am having ), but there are absolutely no properties files in the
    extracted directories for WebLogic deploys. only:
    WEB-INF/some_tmp_dir/WEB-INF/lib
    and then some dynamically generated jor file with all of the classes that would normally
    go in WEB-INF/classes ( all except the properties, of course, which are no where
    to be found. ).
    There has to be some kind of setting I am missing. Please don't make me seperate
    these properties files from the war/ear and then put the path to these properties
    files in the CLASSPATH, changing one step to three steps to deploy!!
    I have found a documented bug where you can't even put the properties files in a
    jar file and that bug will never be fixed for WebLogic 6.1.
    "Dimitri I. Rakitine" <[email protected]> wrote:
    To access files in WEB-INF you can use ServletContext.getResourceXXX("/WEB-INF/filename")
    Christian Hargraves <[email protected]> wrote:
    We have a war file that needs to access properties files that are in theWEB-INF directory
    of the war file. We also need to load one of the properties files fromthe classpath.
    However, when we deploy the application ( an ear which inlcludes an ejbjarand a
    war and the libraries both the ejbjar (with a manifest setting the classpath) and
    war need ) the properties don't get extracted.
    In some of our servlets we are trying to access those files with the path"WEB-INF/foo.properties"
    and we get a FileNotFoundException. Then we check and see that NO propertiesfiles
    have been extracted into their appropriate places ( not even those wethrow into
    the WEB-INF/classes directory ).
    PLEASE HELP,
    Christian Hargraves--
    Dimitri
    Dimitri

  • How can I access the files on my time capsule?

    I bought this thinking it could be used as additional storage, like a hard drive only wirelessly.  It appears to be functioning as backup but I don't know how to access the files to see if it actually is.  Any advice?  When I click on time machine in the finder it just takes me to a folder that says Data with no entry for date modified.  Yet elsewhere it tells me it has been backing up every half hour or so.  Whats the deal?

    You do not access the backup file store directly.. you access it via Time Machine.. the files are not stored in a way you would directly access anyway.. all files are stored as a backup in a very complex structure.
    Read Q14-17 on how to use restore to get files out of the TM backup.
    http://pondini.org/TM/FAQ.html
    If you want to access files on the TC, copy them directly to the TC .. don't use backups as a method of access to other devices.

Maybe you are looking for

  • Function Module to Calculate Capacity per Shift.

    Hello SAPients. I have to create a report where I have to distribute the production requirement (table KBED) in different shifts. I tried to calculate the values with normal calculation in programming but it's getting too complicated finding the righ

  • Network an old printer connecte dto PC on my Airport net?

    I have a fantastic old HP that works like a champ and prints at great resolution. Problem is it has IEEE and not a USB connection, so I can't connet it to my AX. I tried a USB converter and several 3rd party drivers, as well as upgraded firmware, but

  • PSE 11 Guided Edit will not initialize

    I've installed PSE 11 on my iMac running OS 10.7.5. Guided edit hangs after initializing about 75% when I try to run it from my main user (administrator) account. It works fine from a second user account. Does anyone have any ideas about getting it t

  • Small doubts regarding devices and permissions

    Hill all, Continuing with my experiences with Oracle 11gR2 and Solaris 11, i came up with some "small" doubts regarding the permissions and owners of the devices to be used as ASM diskgroups. I was able to install Grid and the database, both 11.2.0.3

  • Please send me interview questions or any links which provides same.

    Hi, Please send me interview questions or any links which provides same. Regards, Gurprit Bhatia