[
https://issues.apache.org/jira/browse/PIVOT-591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12896539#action_12896539
]
Greg Brown commented on PIVOT-591:
----------------------------------
Includes should still work if you read from a File URL. However, you are
correct that they won't work if you use the version that takes an InputStream.
I agree that improving the Javadoc for readObject() would help. Thanks for the
suggestion.
> add a readObject(File) method to WTKXSerializer
> -----------------------------------------------
>
> Key: PIVOT-591
> URL: https://issues.apache.org/jira/browse/PIVOT-591
> Project: Pivot
> Issue Type: Improvement
> Components: wtk
> Affects Versions: 1.5
> Environment: mac os x 10.6
> Reporter: A.J.
> Priority: Trivial
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> When loadind a WTKX file using WTKXSerializer readObject(InputStream) method,
> the serializer fails to load included WTKX because its location is not set.
> Adding a method readObject(File file) such as this one should fix this issue
> :
> public Object readObject(File file) throws IOException,
> SerializationException {
> return readObject(file.toURI().toURL());
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.