FileMan

Summary: A library for manipulating files and directories in an extremely simple way.
Author: Masashi Umezawa
Owner: Masashi Umezawa (mu)
Co-maintainers: <None>
Categories:
Homepage: http://squeaksource.blueplane.jp/FileMan.html
PackageInfo name: Fm
RSS feed: http://squeaksource.blueplane.jp/FileMan/feed.rss

Description:

Squeak's file libraries (Directory, DirectoryEntry, FileStream, etc.) are sometimes very confusing to use. FileMan provides a simple, refactored interfaces for manipulating files and directories by wrapping those classes.

"Before"
subDir := FileDirectory default directoryNamed: 'subDir'.
subDir assureExistence.
[str := subDir newFileNamed: 'file1'.
str nextPutAll: 'Hello!']
ensure: [str close].

"After installation of FileMan"
'./subDir' asDirectoryEntry at: 'file2' put: 'Hello!'

Releases


Back