eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'DirectoryContentsBrowser::DirectoryContentsItem':

Home

everywhere
www.exept.de
for:
[back]

Class: DirectoryContentsItem (private in DirectoryContentsBrowser

This class is only visible from within DirectoryContentsBrowser.

Inheritance:

   Object
   |
   +--DirectoryContentsBrowser::DirectoryContentsItem

Package:
stx:libtool
Category:
Interface-Tools-File
Owner:
DirectoryContentsBrowser

Class protocol:

instance creation
o  fileName: aFilename

o  forInfoItem: anItem


Instance protocol:

accessing
o  fileInfo: something

o  fileName

o  fileName: aFilename
set fileName

o  fileType
returns the type of the file

o  fileType: aType

o  icon
answer the icon displayed in the table widget; if the icon is unspecified,
and the fileInfo is set a default icon is returned otherwise nil

o  icon: anIcon

o  iconKey

o  iconOrNil
answer the icon or nil if unspecifed

o  isDirectory

o  isSymbolicLink

o  lastButOneSuffix
returns the suffix of the file

o  lastSuffix
returns the suffix of the file

o  linkTargetIsDirectory

o  mimeType

o  preview

o  preview: aLabel

o  suffix
returns the suffix of the file

o  suffixes

o  type
returns the type of the file

actions
o  resetImageFile
if the image preview extent is changed the icon will set to nil to force the update task to reload the image

o  resetItem
dont know what someone else is doing with the file - read all item properties new

change queries
o  hasBeenModified
check if item modification time has changed

comparing
o  = anItem
Transcript showCR:(anItem species == self species).

o  hash

presentation
o  baseName
returns the baseName of the file

o  baseNameWithOutSuffix
returns the baseName of the file

o  date
returns the modTimeString

o  fileInfoString
get stat info on selected file - return a string which can be
shown in a box

o  fileSize
returns the fileSize

o  group
returns the printable group

o  inodeNumber
returns the inode number

o  modificationTime
returns the absolute time of modification

o  owner
returns the printable owner

o  permissions
returns the permissions as printable string

o  sizeInBytesString

o  sizeInKiloBytesString

o  sizeString
returns the size of the file

o  timeAndDate
returns the time- and date string

printing
o  printOn: aStream

private
o  getFileInfo

queries
o  beRemoteDirectory

o  exists

o  hasMimeType

o  isRemoteDirectory

o  mimeTypeForContents



ST/X 6.1.1; WebServer 1.620 at exept:8081; Mon, 21 May 2012 16:08:59 GMT