Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CityDoctor
CityDoctor2
Commits
241f223a
Commit
241f223a
authored
2 months ago
by
Riegel
Browse files
Options
Download
Email Patches
Plain Diff
Feat: Add isDecompressed() function
parent
3d82c069
master
dev
dev_gui_features_zip_loading
3.17.0
archive/dev_gui_features_zip_loading
2 merge requests
!28
Version 3.17.0 Release
,
!26
Add ZIP-archive support
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CityDoctorParent/CityDoctorModel/src/main/java/de/hft/stuttgart/citydoctor2/zip/CityGmlZipEntry.java
+9
-0
...ava/de/hft/stuttgart/citydoctor2/zip/CityGmlZipEntry.java
with
9 additions
and
0 deletions
+9
-0
CityDoctorParent/CityDoctorModel/src/main/java/de/hft/stuttgart/citydoctor2/zip/CityGmlZipEntry.java
+
9
-
0
View file @
241f223a
...
...
@@ -124,6 +124,15 @@ public class CityGmlZipEntry implements Serializable {
fileSize
=
size
;
}
public
boolean
isDecompressed
()
{
return
decompressed
;
}
/**
* Returns the estimated uncompressed filesize of this entry.
*
* @return filesize in bytes, -1 if filesize unknown
*/
public
long
getFileSize
()
{
return
fileSize
;
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets