org.jboss.virtual.spi
Interface TempInfo

All Known Implementing Classes:
BasicTempInfo, ZipEntryTempInfo

public interface TempInfo

The temp info

Author:
ales.justin@jboss.org

Method Summary
 void cleanup()
          Do temp info cleanup.
 VirtualFileHandler getHandler()
          Get the new temp handler.
 String getPath()
          Get relative path to vfs context.
 File getTempFile()
          Get temp file.
 boolean isValid()
          Is the temp info still valid.
 

Method Detail

getPath

String getPath()
Get relative path to vfs context.

Returns:
the relative path

getTempFile

File getTempFile()
Get temp file.

Returns:
the temp file

cleanup

void cleanup()
Do temp info cleanup.


getHandler

VirtualFileHandler getHandler()
Get the new temp handler.

Returns:
the temp handler

isValid

boolean isValid()
Is the temp info still valid.

Returns:
true if still valid, false otherwise


Copyright © 2011 JBoss, A division of Red Hat, Inc. All Rights Reserved.