#DOCUMENTATION by mawalch
class: ZipArchive class
comment/format in:
#defaultAppendTrailingSlash
#defaultAppendTrailingSlash:
#documentation
--- a/ZipArchive.st Tue May 23 03:41:58 2017 +0000
+++ b/ZipArchive.st Tue May 30 17:17:09 2017 +0200
@@ -1040,19 +1040,20 @@
Trailing slash.
Some implementations require a trailing slash in directory
- names (such as OpenOffice zip implementation). Others just
- ignore external file attrbutes and indicate directory entry
- by adding trailing slash (such a Java zip implementation).
+ names (such as the OpenOffice zip implementation). Others just
+ ignore external file attributes and indicate a directory entry
+ by adding a trailing slash (such as the Java zip implementation).
Since ZipArchive 1.98 a trailing slash is added for all directory
- entries iff appendTrailingSlash instvar is set to true. By default
- it set to value of DefaultAppendTrailingSlash which defaults to true.
+ entries iff appendTrailingSlash instvar is set to true. By default
+ it is set to the value of DefaultAppendTrailingSlash which defaults
+ to true.
Setting appendTrailingSlash to false inhibits trailing slash
behavior.
-
-
- Caveat:
+
+
+ Caveat:
the only compression methods (for now) are store and deflate.
[author:]
@@ -1060,7 +1061,7 @@
[classvars:]
DefaultAppendTrailingSlash...a default value for appendTralingSlash instvar.
- For details, se above
+ For details, see above
"
!
@@ -2959,20 +2960,23 @@
!ZipArchive class methodsFor:'accessing-default'!
defaultAppendTrailingSlash
- "Returns default trailing slash behavior, For details,
- see class documentation"
-
- ^DefaultAppendTrailingSlash
+ "Returns the default trailing slash behavior. For details
+ see the class documentation"
+
+ ^ DefaultAppendTrailingSlash
"Created: / 19-11-2012 / 11:53:34 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+ "Modified (comment): / 30-05-2017 / 17:16:27 / mawalch"
!
defaultAppendTrailingSlash: aBoolean
- "Sets the default trailing slash behavior, For details,
- see class documentation"
+ "Sets the default trailing slash behavior. For details
+ see the class documentation"
+
DefaultAppendTrailingSlash := aBoolean
"Created: / 19-11-2012 / 11:53:27 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+ "Modified (format): / 30-05-2017 / 17:16:40 / mawalch"
!
zipFileCachingTime:seconds