public ServerPackageAsset resolveServerPackage ( File archiveFile ) throws InstallException { ServerPackageAsset spa = ( ServerPackageJarAsset . validType ( archiveFile . getAbsolutePath ( ) . toLowerCase ( ) ) ) ? new ServerPackageJarAsset ( archiveFile , false ) : new ServerPackageZipAsset ( archiveFile , false ) ; this . installAssets = new ArrayList < List < InstallAsset > > ( ) ; this . installAssets . add ( Arrays . asList ( ( InstallAsset ) spa ) ) ; return spa ; }
Creates a new server package asset from the inputed archive file