Package org.springframework.roo.file.undo

Examples of org.springframework.roo.file.undo.UpdateFile


    public MutableFile updateFile(final String fileIdentifier) {
        Validate.notNull(fileIdentifier, "File identifier required");
        final File actual = new File(fileIdentifier);
        Validate.isTrue(actual.exists(), "File '%s' does not exist",
                fileIdentifier);
        new UpdateFile(undoManager, filenameResolver, actual);
        final ManagedMessageRenderer renderer = new ManagedMessageRenderer(
                filenameResolver, actual, false);
        renderer.setIncludeHashCode(processManager.isDevelopmentMode());
        return new DefaultMutableFile(actual, fileMonitorService, renderer);
    }
View Full Code Here

TOP

Related Classes of org.springframework.roo.file.undo.UpdateFile

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.