public class LogAdministration extends Application
LogAdministrationServiceInterface.PREFERENCE_MESSAGE, PROJECT_FILE_MESSAGE| Constructor and Description |
|---|
LogAdministration(String id) |
| Modifier and Type | Method and Description |
|---|---|
void |
killApplication()
Método para encerramento da execução, que pode ser redefinido para
comportamentos próprios da aplicações.
|
byte[] |
readRemoteFile(tecgraf.ftc.common.logic.RemoteFileChannelInfo channel)
Faz a leitura de arquivos remotos usando o FTC.
|
protected boolean |
userCanKillApplication()
Método de kill pelo usuário é específico do desktop applications
|
addPreferenceListener, addWindow, buildApplicationFrame, buildApplicationImage, closeDependentWindows, finishApplication, getApplicationCommand, getApplicationCommandDir, getApplicationFrame, getApplicationProject, getClassString, getClassString, getDesktopFrame, getLocale, getPreferences, getResource, getResourceBundle, getStatusBar, getString, getString, handleError, hasClassString, hasString, isConnectedToServer, isVisible, logDetailedApplicationEvent, removeAllPreferenceListeners, removeWindow, savePreferences, setInitialFrameState, setVisible, showError, showError, showException, showExceptionStack, showInformation, showInformation, showMessage, showMessage, showOptionDialog, showOptionDialog, showWarning, showWarning, startApplicationcloseApplication, getApplicationRegistry, getApplicationResourceAsStream, getApplicationResourceAsStream, getApplicationResourceAsURL, getApplicationResourceAsURL, getAuthorMail, getAuthorName, getBooleanSpecificProperty, getDescription, getDoubleSpecificProperty, getFileTypes, getId, getImageIcon, getImageIcon, getImageIcon, getInstanceId, getInstanceIndex, getIntSpecificProperty, getLongSpecificProperty, getLongSpecificProperty, getMainApplicationClass, getName, getStringListSpecificProperty, getStringSpecificProperty, getVersion, getVersionNumber, launchApplication, postInitialization, sendMessageaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic LogAdministration(String id)
id - identificador da aplicaçãopublic void killApplication()
throws ApplicationException
killApplication in class ApplicationApplicationException - em caso de erro no fechamento da applicação.protected boolean userCanKillApplication()
userCanKillApplication in class ApplicationTypepublic byte[] readRemoteFile(tecgraf.ftc.common.logic.RemoteFileChannelInfo channel)
channel - canal de leitura do arquivoCopyright © 2020. All rights reserved.