DirectoryHelper MembersKentico 8.0 API Reference
The DirectoryHelper type exposes the following members.
Constructors

  NameDescription
Public methodDirectoryHelper
Back to Top
Methods

  NameDescription
Public methodStatic memberCombinePath
Combines parts of one path together, handles back slashes. Path ends without backslash.
Protected methodCombinePathInternal
Combines parts of one path together, handles back slashes.
Public methodStatic memberCopyDirectory
Copies specified directory including its subdirectories and all underlying files.
Protected methodCopyDirectoryInternal
Copies specified directory including its subdirectories and all underlying files.
Public methodStatic memberCopyFile
Copies the file.
Protected methodCopyFileInternal
Copies the file.
Public methodStatic memberCreateDirectory
Creates directory. It works also in a shared hosting environment.
Protected methodCreateDirectoryInternal
Creates directory. It works also in a shared hosting environment.
Public methodStatic memberDeleteDirectory(String)
Deletes the directory. It works also in a shared hosting environment.
Public methodStatic memberDeleteDirectory(String, Boolean)
Deletes the directory. It works also in a shared hosting environment.
Protected methodDeleteDirectoryInternal(String)
Deletes the directory. It works also in a shared hosting environment.
Protected methodDeleteDirectoryInternal(String, Boolean)
Deletes the directory. It works also in a shared hosting environment.
Public methodStatic memberDeleteDirectoryStructure
Deletes the directory structure. It works also in a shared hosting environment.
Protected methodDeleteDirectoryStructureInternal
Deletes the directory structure. It works also in a shared hosting environment.
Public methodStatic memberEnsureDiskPath
Checks if all folders of the given path exist and if not, it creates them.
Protected methodEnsureDiskPathInternal
Checks if all folders of the given path exist and if not, it creates them.
Public methodStatic memberEnsurePathBackSlash
This method ensures that path will end with one backslash.
Protected methodEnsurePathBackSlashInternal
This method ensures that path will end with one backslash.
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodStatic memberCheckPermissions(String)
Check permissions (checks read and write permissions).
Public methodStatic memberCheckPermissions(String, Boolean, Boolean, Boolean, Boolean)
Check write permissions.
Protected methodCheckPermissionsInternal
Check write permissions.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodStatic memberMoveDirectory
Moves specified directory to new path.
Protected methodMoveDirectoryInternal
Moves specified directory to new path.
Public methodSetAsDefaultHelper
Sets this object as the default helper
(Inherited from AbstractHelper HelperType .)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Extension Methods

  NameDescription
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Back to Top
Properties

  NameDescription
Public propertyStatic memberAllowCheckIOPermissions
Allow checking IO permissions?
Public propertyStatic memberIsWebRootWritable
Returns whether web root is writable.
Back to Top
See Also