bes
Updated for version 3.20.6
|
Function to uncompress files with .bz2 extension. More...
#include <BESUncompress3BZ2.h>
Public Member Functions | |
virtual void | dump (std::ostream &strm) const =0 |
dump the contents of this object to the specified ostream More... | |
Static Public Member Functions | |
static void | uncompress (const std::string &src, int fd) |
uncompress a file with the .bz2 file extension More... | |
Function to uncompress files with .bz2 extension.
The static function is responsible for uncompressing bz2 files. If the uncompressed target file already exists then this function will overwrite that file. If it doesn't already exist then it is created.
If any errors occur during this operation then a BESContainerStorageException will be thrown
src | the source file that is to be uncompressed |
target | the target uncompressed file |
BESContainerStorageException | if errors in uncompressing the file or if bz2 is not compiled into the BES. |
Definition at line 54 of file BESUncompress3BZ2.h.
|
pure virtualinherited |
dump the contents of this object to the specified ostream
This method is implemented by all derived classes to dump their contents, in other words, any state they might have, private variables, etc...
The inline function below can be used to dump the contents of an OPeNDAOObj object. For example, the object Animal is derived from BESObj. A user could do the following:
Animal *a = new dog( "Sparky" ) ; cout << a << endl ;
And the dump method for dog could display the name passed into the constructor, the (this) pointer of the object, etc...
strm | C++ i/o stream to dump the object to |
Implemented in BESContainerStorage, BESCatalog, BESDefinitionStorage, BESApp, FONcBaseType, BESResponseObject, ServerHandler, BESReporter, BESAbstractModule, FoDapCovJsonTransform, BESContainer, BESFileLockingCache, BESLog, BESPlugin< M >, BESPlugin< BESAbstractModule >, BESPlugin< C >, BESResponseHandler, BESDataHandlerInterface, bes::CatalogItem, BESInterface, BESPluginFactory< C >, BESPluginFactory< BESAbstractModule >, BESCatalogEntry, BESError, TheBESKeys, BESCatalogList, BESCatalogUtils, bes::CatalogNode, BESXMLCommand, BESStopWatch, BESInfo, W10nJsonTransform, BESRequestHandler, BESVersionInfo, FONcArray, CmdClient, BESRequestHandlerList, BESContainerStorageList, Socket, Connection, BESServiceRegistry, StandAloneClient, BESContainerStorageFile, BESDefinitionStorageList, BESFileContainer, FoDapJsonTransform, PPTConnection, BESTokenizer, BESDapResponse, FoInstanceJsonTransform, TcpSocket, BESFileContainerStorage, cmr::CmrCatalog, httpd_catalog::HttpdCatalog, BESDefineResponseHandler, BESResponseHandlerList, BESWWW, BESContainerStorageVolatile, BESDefinitionStorageVolatile, DaemonCommandHandler, CSV_Field, BESXMLDefineCommand, BESDap4ResponseHandler, BESXMLInfo, UnixSocket, BESUsage, BESDapErrorInfo, BESDefine, cmr::CmrContainer, gateway::GatewayContainer, bes::NullResponseHandler, BESContextManager, dmrpp::DmrppRequestHandler, httpd_catalog::HttpdCatalogContainer, BESXMLInterface, BESTransmitter, BESUncompressManager3, FONcMap, SiteMapCommand, BESCatalogDirectory, BESModuleApp, BESTextInfo, CSV_Obj, BESHTMLInfo, BESDataResponseHandler, BESMemoryGlobalArea, PPTServer, BESXMLSetContainerCommand, BESDataDDSResponse, BESReturnManager, BESSetContainerResponseHandler, FONcDim, BESXMLGetCommand, SiteMapResponseHandler, BESDDSResponse, ShowPathInfoResponseHandler, BESReporterList, DapRequestHandler, BESDelDefResponseHandler, BESDelDefsResponseHandler, bes::ShowNodeResponseHandler, CSV_Header, FONcModule, CmdApp, BESDataDDXResponseHandler, BESDDSResponseHandler, BESDelContainersResponseHandler, BESHelpResponseHandler, BESShowContainersResponseHandler, CSV_Reader, GatewayPathInfoResponseHandler, BESDDXResponseHandler, BESDelContainerResponseHandler, BESInfoList, BESSetContextResponseHandler, BESShowContextResponseHandler, PPTClient, ServerApp, BESVersionResponseHandler, BESServerHandler, BESConfigResponseHandler, BESShowDefsResponseHandler, BESStatusResponseHandler, FoJsonModule, W10nShowPathInfoResponseHandler, BESDASResponseHandler, BESDMRResponseHandler, BESProcIdResponseHandler, BESServicesResponseHandler, BESShowErrorResponseHandler, StandAloneApp, BESDASResponse, BESInternalError, BESInternalFatalError, FoCovJsonModule, BESCatalogResponseHandler, BESSyntaxUserError, SampleSayXMLCommand, cmr::CmrContainerStorage, gateway::GatewayContainerStorage, ncml_module::NCMLRequestHandler, BESXMLCatalogCommand, bes::SetContextsResponseHandler, httpd_catalog::HttpdCatalogContainerStorage, ShowBesKeyResponseHandler, FONgModule, SocketListener, ShowBesKeyCommand, BESXMLDeleteContainerCommand, BESXMLDeleteContainersCommand, BESXMLDeleteDefinitionCommand, BESXMLDeleteDefinitionsCommand, BESXMLSetContextCommand, BESXMLShowCommand, BESXMLShowErrorCommand, BESForbiddenError, BESNotFoundError, CmrModule, CSVModule, BESDMRResponse, FONcRequestHandler, gateway::GatewayModule, SampleModule, FitsModule, BESStreamResponseHandler, BESAsciiModule, cmr::CmrError, FFModule, HDF5Module, BESXMLWWWGetCommand, BESXMLDapCommandModule, bes::ShowNodeCommand, ShowPathInfoCommand, ncml_module::NCMLModule, W10nJsonRequestHandler, SampleSayResponseHandler, FoCovJsonRequestHandler, FoJsonRequestHandler, httpd_catalog::HttpdCatalogModule, BESDapModule, BESDapRequestHandler, BESAsciiRequestHandler, CSVRequestHandler, HDF4Module, BESUsageModule, BESUsageRequestHandler, BESWWWModule, BESWWWRequestHandler, DapFunctionsRequestHandler, FONgRequestHandler, NCModule, bes::XMLSetContextsCommand, functions::DapFunctions, SampleRequestHandler, FitsRequestHandler, GDALModule, UgridFunctions, gateway::GatewayRequestHandler, W10NModule, BESXDModule, BESXDRequestHandler, dmrpp::DmrppModule, DapModule, GatewayPathInfoCommand, and W10nShowPathInfoCommand.
|
static |
uncompress a file with the .bz2 file extension
src_name | file that will be uncompressed |
target | file to uncompress the src file to |
Definition at line 70 of file BESUncompress3BZ2.cc.