Wasn't sure if this belonged here, but I figured Java experts would be the most equipped to help me... Hopefuly. :)
I basically just want to parse the below sample perforce changelist info and retrieve the date and timestamp so I can use that information. For example from the below sample changelist info I want to pull out, "2006/04/05 23:06:34" so I can use it when synching (getting source down from Perforce). I was thinking of having a seperate file (samplefile.properties) with something similar to this:
Here's the sample changelist info:
# A Perforce Change Specification.
# Change: The change number. 'new' on a new changelist. Read-only.
# Date: The date this specification was last modified. Read-only.
# Client: The client on which the changelist was created. Read-only.
# User: The user who created the changelist. Read-only.
# Status: Either 'pending' or 'submitted'. Read-only.
# Description: Comments about the changelist. Required.
# Jobs: What opened jobs are to be closed by this changelist.
# You may delete jobs from this list. (New changelists only.)
# EXTRAVIEW: To close a job, remove the '<cli-ignore>' keyword from the job comment (or remove the entire comment).
# Files: What opened files from the default changelist are to be added
# to this changelist. You may delete files from this list.
# (New changelists only.)
Date: 2006/04/05 23:06:34
Thanks in advance!