Sha256: f73e34363689fd355b9498f6459f08da2c5646567b3f2680955636604423b9ea
Contents?: true
Size: 394 Bytes
Versions: 14
Compression:
Stored size: 394 Bytes
Contents
package com.calatrava.bridge; import android.content.Context; import java.io.*; public class AssetRepository { private Context appContext; public AssetRepository(Context appContext) { this.appContext = appContext; } public Reader assetReader(String path) throws IOException { return new BufferedReader(new InputStreamReader(appContext.getAssets().open(path)), 8192); } }
Version data entries
14 entries across 14 versions & 1 rubygems