You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Niall Pemberton (JIRA)" <ji...@apache.org> on 2010/10/31 14:55:24 UTC

[jira] Created: (IO-255) XML handler to serialize/de-serialize FlieEntrys to/from XML

XML handler to serialize/de-serialize FlieEntrys to/from XML
------------------------------------------------------------

                 Key: IO-255
                 URL: https://issues.apache.org/jira/browse/IO-255
             Project: Commons IO
          Issue Type: New Feature
    Affects Versions: 2.0
            Reporter: Niall Pemberton
            Assignee: Niall Pemberton
            Priority: Minor
         Attachments: FileEntryXmlHandler.java

It may be usefule to *capture* the state of a Filesystem and serialize it. I've been playing with a handler that can serialize/de-serialize a FileEntry and its children to/from XML.

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


[jira] Commented: (IO-255) XML handler to serialize/de-serialize FlieEntrys to/from XML

Posted by "James Carman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IO-255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926736#action_12926736 ] 

James Carman commented on IO-255:
---------------------------------

Does java.beans.XMLEncoder/XMLDecoder work out of the box with this particular class?

> XML handler to serialize/de-serialize FlieEntrys to/from XML
> ------------------------------------------------------------
>
>                 Key: IO-255
>                 URL: https://issues.apache.org/jira/browse/IO-255
>             Project: Commons IO
>          Issue Type: New Feature
>    Affects Versions: 2.0
>            Reporter: Niall Pemberton
>            Assignee: Niall Pemberton
>            Priority: Minor
>         Attachments: FileEntryXmlHandler.java
>
>
> It may be usefule to *capture* the state of a Filesystem and serialize it. I've been playing with a handler that can serialize/de-serialize a FileEntry and its children to/from XML.

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


[jira] Commented: (IO-255) XML handler to serialize/de-serialize FlieEntrys to/from XML

Posted by "Gary Gregory (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IO-255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926711#action_12926711 ] 

Gary Gregory commented on IO-255:
---------------------------------

JAXB 1 is in Java 5.
JAXB 2 is in Java 6.

JAXB 2 much easier to deal and in general much better and cleaner than version 1.

I would rather work on JAXB 2 any day. Might be another reason to have [io3] move to Java 6.

> XML handler to serialize/de-serialize FlieEntrys to/from XML
> ------------------------------------------------------------
>
>                 Key: IO-255
>                 URL: https://issues.apache.org/jira/browse/IO-255
>             Project: Commons IO
>          Issue Type: New Feature
>    Affects Versions: 2.0
>            Reporter: Niall Pemberton
>            Assignee: Niall Pemberton
>            Priority: Minor
>         Attachments: FileEntryXmlHandler.java
>
>
> It may be usefule to *capture* the state of a Filesystem and serialize it. I've been playing with a handler that can serialize/de-serialize a FileEntry and its children to/from XML.

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


[jira] Commented: (IO-255) XML handler to serialize/de-serialize FlieEntrys to/from XML

Posted by "Sebb (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IO-255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926715#action_12926715 ] 

Sebb commented on IO-255:
-------------------------

As far as I can tell, JAXB is not included in 1.5 by default - you have to download additional code.

> XML handler to serialize/de-serialize FlieEntrys to/from XML
> ------------------------------------------------------------
>
>                 Key: IO-255
>                 URL: https://issues.apache.org/jira/browse/IO-255
>             Project: Commons IO
>          Issue Type: New Feature
>    Affects Versions: 2.0
>            Reporter: Niall Pemberton
>            Assignee: Niall Pemberton
>            Priority: Minor
>         Attachments: FileEntryXmlHandler.java
>
>
> It may be usefule to *capture* the state of a Filesystem and serialize it. I've been playing with a handler that can serialize/de-serialize a FileEntry and its children to/from XML.

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


[jira] Commented: (IO-255) XML handler to serialize/de-serialize FlieEntrys to/from XML

Posted by "Niall Pemberton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IO-255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926710#action_12926710 ] 

Niall Pemberton commented on IO-255:
------------------------------------

I thought that required 1.6

> XML handler to serialize/de-serialize FlieEntrys to/from XML
> ------------------------------------------------------------
>
>                 Key: IO-255
>                 URL: https://issues.apache.org/jira/browse/IO-255
>             Project: Commons IO
>          Issue Type: New Feature
>    Affects Versions: 2.0
>            Reporter: Niall Pemberton
>            Assignee: Niall Pemberton
>            Priority: Minor
>         Attachments: FileEntryXmlHandler.java
>
>
> It may be usefule to *capture* the state of a Filesystem and serialize it. I've been playing with a handler that can serialize/de-serialize a FileEntry and its children to/from XML.

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


[jira] Commented: (IO-255) XML handler to serialize/de-serialize FlieEntrys to/from XML

Posted by "Gary Gregory (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IO-255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926716#action_12926716 ] 

Gary Gregory commented on IO-255:
---------------------------------

You are correct! JAXB 2 is in Java 6. There is no JAXB in Java 5.

> XML handler to serialize/de-serialize FlieEntrys to/from XML
> ------------------------------------------------------------
>
>                 Key: IO-255
>                 URL: https://issues.apache.org/jira/browse/IO-255
>             Project: Commons IO
>          Issue Type: New Feature
>    Affects Versions: 2.0
>            Reporter: Niall Pemberton
>            Assignee: Niall Pemberton
>            Priority: Minor
>         Attachments: FileEntryXmlHandler.java
>
>
> It may be usefule to *capture* the state of a Filesystem and serialize it. I've been playing with a handler that can serialize/de-serialize a FileEntry and its children to/from XML.

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


[jira] Issue Comment Edited: (IO-255) XML handler to serialize/de-serialize FlieEntrys to/from XML

Posted by "Gary Gregory (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IO-255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926711#action_12926711 ] 

Gary Gregory edited comment on IO-255 at 10/31/10 10:36 AM:
------------------------------------------------------------

-JAXB 1 is in Java 5.-
JAXB 2 is in Java 6.

JAXB 2 much easier to deal and in general much better and cleaner than version 1.

I would rather work on JAXB 2 any day. Might be another reason to have [io3] move to Java 6.

      was (Author: ggregory@seagullsw.com):
    JAXB 1 is in Java 5.
JAXB 2 is in Java 6.

JAXB 2 much easier to deal and in general much better and cleaner than version 1.

I would rather work on JAXB 2 any day. Might be another reason to have [io3] move to Java 6.
  
> XML handler to serialize/de-serialize FlieEntrys to/from XML
> ------------------------------------------------------------
>
>                 Key: IO-255
>                 URL: https://issues.apache.org/jira/browse/IO-255
>             Project: Commons IO
>          Issue Type: New Feature
>    Affects Versions: 2.0
>            Reporter: Niall Pemberton
>            Assignee: Niall Pemberton
>            Priority: Minor
>         Attachments: FileEntryXmlHandler.java
>
>
> It may be usefule to *capture* the state of a Filesystem and serialize it. I've been playing with a handler that can serialize/de-serialize a FileEntry and its children to/from XML.

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


[jira] [Commented] (IO-255) XML handler to serialize/de-serialize FlieEntrys to/from XML

Posted by "Aaron Digulla (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IO-255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238232#comment-13238232 ] 

Aaron Digulla commented on IO-255:
----------------------------------

Please fix the typo in the bug title: "FlieEntrys" should be "FileEntrys"
                
> XML handler to serialize/de-serialize FlieEntrys to/from XML
> ------------------------------------------------------------
>
>                 Key: IO-255
>                 URL: https://issues.apache.org/jira/browse/IO-255
>             Project: Commons IO
>          Issue Type: New Feature
>    Affects Versions: 2.0
>            Reporter: Niall Pemberton
>            Assignee: Niall Pemberton
>            Priority: Minor
>         Attachments: FileEntryXmlHandler.java
>
>
> It may be usefule to *capture* the state of a Filesystem and serialize it. I've been playing with a handler that can serialize/de-serialize a FileEntry and its children to/from XML.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (IO-255) XML handler to serialize/de-serialize FileEntry instances to/from XML

Posted by "Sebb (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IO-255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebb updated IO-255:
--------------------

    Summary: XML handler to serialize/de-serialize FileEntry instances to/from XML  (was: XML handler to serialize/de-serialize FlieEntrys to/from XML)
    
> XML handler to serialize/de-serialize FileEntry instances to/from XML
> ---------------------------------------------------------------------
>
>                 Key: IO-255
>                 URL: https://issues.apache.org/jira/browse/IO-255
>             Project: Commons IO
>          Issue Type: New Feature
>    Affects Versions: 2.0
>            Reporter: Niall Pemberton
>            Assignee: Niall Pemberton
>            Priority: Minor
>         Attachments: FileEntryXmlHandler.java
>
>
> It may be usefule to *capture* the state of a Filesystem and serialize it. I've been playing with a handler that can serialize/de-serialize a FileEntry and its children to/from XML.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (IO-255) XML handler to serialize/de-serialize FlieEntrys to/from XML

Posted by "Gary Gregory (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IO-255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926709#action_12926709 ] 

Gary Gregory commented on IO-255:
---------------------------------

Personally, since [io] is now on Java 5, I would use JAXB and be done with it. No need to have XML reading and writing code here.

> XML handler to serialize/de-serialize FlieEntrys to/from XML
> ------------------------------------------------------------
>
>                 Key: IO-255
>                 URL: https://issues.apache.org/jira/browse/IO-255
>             Project: Commons IO
>          Issue Type: New Feature
>    Affects Versions: 2.0
>            Reporter: Niall Pemberton
>            Assignee: Niall Pemberton
>            Priority: Minor
>         Attachments: FileEntryXmlHandler.java
>
>
> It may be usefule to *capture* the state of a Filesystem and serialize it. I've been playing with a handler that can serialize/de-serialize a FileEntry and its children to/from XML.

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


[jira] Updated: (IO-255) XML handler to serialize/de-serialize FlieEntrys to/from XML

Posted by "Niall Pemberton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IO-255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Niall Pemberton updated IO-255:
-------------------------------

    Attachment: FileEntryXmlHandler.java

Attaching FileEntryXMLHandler. Needs a test case

> XML handler to serialize/de-serialize FlieEntrys to/from XML
> ------------------------------------------------------------
>
>                 Key: IO-255
>                 URL: https://issues.apache.org/jira/browse/IO-255
>             Project: Commons IO
>          Issue Type: New Feature
>    Affects Versions: 2.0
>            Reporter: Niall Pemberton
>            Assignee: Niall Pemberton
>            Priority: Minor
>         Attachments: FileEntryXmlHandler.java
>
>
> It may be usefule to *capture* the state of a Filesystem and serialize it. I've been playing with a handler that can serialize/de-serialize a FileEntry and its children to/from XML.

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