守望者--AIR技术交流

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

搜索
热搜: ANE FlasCC 炼金术
查看: 1292|回复: 0

IOS RAR解压ANE

[复制链接]
  • TA的每日心情
    擦汗
    2018-4-10 15:18
  • 签到天数: 447 天

    [LV.9]以坛为家II

    1742

    主题

    2094

    帖子

    13万

    积分

    超级版主

    Rank: 18Rank: 18Rank: 18Rank: 18Rank: 18

    威望
    562
    贡献
    29
    金币
    52619
    钢镚
    1422

    开源英雄守望者

    发表于 2015-1-29 18:06:41 | 显示全部楼层 |阅读模式
    应用下载
    应用名称: ANEUnRar
    支持64位:
    当前版本: 未知
    运行平台: IOS 
    开发语言: ActionScript 3 Object-C 
    应用类别: ANE-C/C++
    应用简介: Adobe Air Native Extension to Obj-C UnRar Lib
    AneUnRar Adobe AIR Native UnRAR iOS wrapper

    A simple wrapper to the Cooliris UnRAR iOS class interface.

    AneUnRar is copyright 2012 Pedro Casaubon. and available under Apache 2.0 license. See theLICENSE file in the project for more information.

    IMPORTANT: AneUnRar includes some other open-source projects and such projects remain under their own license.

    Cooliris UnRAR lib

    Original UnRAR 3.9.10 source code

    Methods
    • openFile
    • getReady
    • isSupported
    • extractFileAsync
    • extractFileSync
    • extractRarAsync
    • extractRarSync
    • getFilesAsync
    • getFilesSync
    • dispose


      openFile
      1.   /**
      2.    * Open the RAR file to process
      3.    * @param rarFile:String
      4.    * @param skipInvisibleFiles:Boolean
      5.    * @return void
      6.    */
      7.   public function openFile( rarFile:File , skipInvisibleFiles:Boolean = false ):Boolean
      复制代码
      getReady

      1. /**
      2.    * Gets the instance status semaphore.
      3.    * If status is false, some process is executing in the background.
      4.    * You can call only one command at time.
      5.    * To process commands in parallel create new AneUnRar instances.
      6.    * @return Boolean
      7.    */                 
      8.   public function getReady( ):Boolean
      复制代码
      isSupported

      1. /**
      2.    * Check if the extension is supported
      3.    * @return Boolean
      4.    */
      5.   public static function isSupported():Boolean
      6.   {
      7.       return _isSupported;
      8.   }
      复制代码
      extractFileAsync

      1. /**
      2.    * Asynchronously Extracts a unique file from the compressed RAR
      3.    *
      4.    * @param fileName:String Path from the file to extract
      5.    * @param outputFileName:String Path to the destination file to extract
      6.    * @return void
      7.    */
      8.   public function extractFileAsync( fileName:String, outputFile:File ):Boolean
      复制代码
      extractFileSync

      1. /**
      2.    * Synchronously Extracts one file from RAR to disk Synchronous
      3.    *
      4.    * @param fileName:String
      5.    * @param outputFileName:String
      6.    * @return Boolean
      7.    */
      8.   public function extractFileSync( fileName:String, outputFile:File ):Boolean
      复制代码
      extractRarAsync

      1. /**
      2.    * Asynchronously Extracts the RAR file to dir  
      3.    *
      4.    * @param outputDir:String
      5.    * @return void
      6.    */
      7.   public function extractRarAsync( outputDir:File ):Boolean
      复制代码
      extractRarSync

      1. /**
      2.    * Synchronously Extracts the RAR file to dir
      3.    *
      4.    * @param outputDir:String
      5.    * @return Boolean
      6.    */
      7.   public function extractRarSync( outputDir:File ):Boolean
      复制代码
      getFilesAsync

      1. /**
      2.    * Gets a single file from rar and extracts it Asynchronously
      3.    * @return void
      4.    */
      5.   public function getFilesAsync( ):Boolean
      复制代码
      getFilesSync

      1. /**
      2.    * Gets a single file from rar and extracts it Synchronously
      3.    * @return Array
      4.    */
      5.   public function getFilesSync( ):Array
      复制代码
      dispose

      1. /**
      2.    * Disposes the AneUnRar extension
      3.    */
      4.   public function dispose():void
      复制代码





      相关链接:

      https://github.com/xperiments/ANEUnRar


      相关下载:


      IOS zip 解压/压缩ANE




    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有帐号?立即注册

    x
    守望者AIR技术交流社区(www.airmyth.com)
    回复

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    
    关闭

    站长推荐上一条 /4 下一条

    QQ|手机版|Archiver|网站地图|小黑屋|守望者 ( 京ICP备14061876号

    GMT+8, 2024-3-29 02:39 , Processed in 0.046799 second(s), 34 queries .

    守望者AIR

    守望者AIR技术交流社区

    本站成立于 2014年12月31日

    快速回复 返回顶部 返回列表