File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes I/O and Streams and the fly likes Remove specific data from object Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » I/O and Streams
Reply Bookmark "Remove specific data from object " Watch "Remove specific data from object " New topic
Author

Remove specific data from object

Obaida Thnibat
Greenhorn

Joined: Jan 03, 2012
Posts: 2
Hi , I have object has serialized to a file .. and i have used hashTable to store that object ..
in the object there is Array list of another object (composition) ..
How can i remove specific object from the array list into main object from that file ..

The class called Account content these data :
private String EmailID;
private String Password;
private String Name;
private String Country;
private GenderType Gender; // enum
private ArrayList<String> Contacts ;
private String BirthDay;
private String CreationDate;
private ArrayList<Folder> Folders;

how can i remove specific folder and remove specific contact without remove whole main object (Account) or whole the array ?
Obaida Thnibat
Greenhorn

Joined: Jan 03, 2012
Posts: 2
I have got the answer ,, Thanks
 
 
subject: Remove specific data from object
 
Threads others viewed
[NX:URLyBird] How to serch the date for record?
How do you remove a String [ ] from an ArrayList?
help needed in copying an Array
Why String Constructor exists in the API
Substring capture To Write A list Of instances in A New Document
developer file tools