Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NetworkedGraphicsMV3500
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Savage
NetworkedGraphicsMV3500
Commits
902196f2
Commit
902196f2
authored
5 years ago
by
sirtobi79
Browse files
Options
Downloads
Patches
Plain Diff
Plain Test encoding added
parent
697aac9a
No related branches found
No related tags found
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/edu/nps/moves/dis7/utilities/stream/PduPlayer.java
+362
-299
362 additions, 299 deletions
src/edu/nps/moves/dis7/utilities/stream/PduPlayer.java
src/edu/nps/moves/dis7/utilities/stream/PduRecorder.java
+2
-2
2 additions, 2 deletions
src/edu/nps/moves/dis7/utilities/stream/PduRecorder.java
with
364 additions
and
301 deletions
src/edu/nps/moves/dis7/utilities/stream/PduPlayer.java
+
362
−
299
View file @
902196f2
This diff is collapsed.
Click to expand it.
src/edu/nps/moves/dis7/utilities/stream/PduRecorder.java
+
2
−
2
View file @
902196f2
...
...
@@ -180,7 +180,7 @@ public class PduRecorder implements PduReceiver
// https://stackoverflow.com/questions/5175728/how-to-get-the-current-date-time-in-java
String
timeStamp
=
new
SimpleDateFormat
(
"yyyyMMdd_HHmmss"
).
format
(
Calendar
.
getInstance
().
getTime
());
bufferedWriter
.
write
(
START_COMMENT_MARKER
+
timeStamp
+
", DIS capture file, "
+
logFile
.
getPath
());
bufferedWriter
.
write
(
START_COMMENT_MARKER
+
pduLogEncoding
+
", "
+
timeStamp
+
", DIS capture file, "
+
logFile
.
getPath
());
bufferedWriter
.
newLine
();
}
...
...
@@ -192,7 +192,7 @@ public class PduRecorder implements PduReceiver
// https://stackoverflow.com/questions/5175728/how-to-get-the-current-date-time-in-java
String
timeStamp
=
new
SimpleDateFormat
(
"yyyyMMdd_HHmmss"
).
format
(
Calendar
.
getInstance
().
getTime
());
bufferedWriter
.
write
(
FINISH_COMMENT_MARKER
+
timeStamp
+
", DIS capture file, "
+
logFile
.
getPath
());
bufferedWriter
.
write
(
FINISH_COMMENT_MARKER
+
pduLogEncoding
+
", "
+
timeStamp
+
", DIS capture file, "
+
logFile
.
getPath
());
bufferedWriter
.
newLine
();
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment