org.springframework.roo.file.undo
Interface FilenameResolver

All Known Implementing Classes:
DefaultFilenameResolver

public interface FilenameResolver

Interface to support UndoableOperation implementations rendering log messages with filename conventions applicable to the caller.

This interface is primarily intended to allow more meaningful paths to be displayed than those available directly via File.

Since:
1.0
Author:
Ben Alex

Method Summary
 String getMeaningfulName(File file)
          Resolves the presented File into a meaningful name for display purposes.
 

Method Detail

getMeaningfulName

String getMeaningfulName(File file)
Resolves the presented File into a meaningful name for display purposes.

Parameters:
file - to resolve (required)
Returns:
a string-based representation of the file name (never null or empty)


Copyright © 2009-2010 VMware, Inc. All Rights Reserved.