commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Carman (JIRA)" <j...@apache.org>
Subject [jira] Commented: (VFS-205) Please provide simple methods for java.io.File <-> FileObject conversion
Date Sun, 22 Feb 2009 13:11:01 GMT

    [ https://issues.apache.org/jira/browse/VFS-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12675648#action_12675648
] 

James Carman commented on VFS-205:
----------------------------------

There is a utility method for converting File -> FileObject, just not back the other way
(for the reasons outlined by Ralph).  If you want everything to be a java.io.File object,
why are you using VFS?  Also, you can copy any FileObject to a File using the VFS API.  That's
what we do.  We copy the FileObject's contents into a temp file and process it from there.

> Please provide simple methods for java.io.File <-> FileObject conversion
> ------------------------------------------------------------------------
>
>                 Key: VFS-205
>                 URL: https://issues.apache.org/jira/browse/VFS-205
>             Project: Commons VFS
>          Issue Type: Improvement
>            Reporter: Tim Lebedkov
>
> Please provide simple methods for java.io.File <-> FileObject conversion

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message