package Ġcom . camp oe . android . repository . files Ċ Ċ import Ġandroid . content . Context Ċ import Ġjava . io . InputStream Ċ import Ġjava . io . OutputStream Ċ Ċ class ĠAsset Provider ( private Ġval Ġcontext : ĠContext , Ġfilename : ĠString ) Ġ: ĠFile Provider ( filename ) Ġ{ ĊĊĠĠĠ Ġ@ Throws ( Unsupported OperationException :: class ) ĊĠĠĠ Ġoverride Ġfun Ġoutput (): ĠOutputStream Ġ{ ĊĠĠĠĠĠĠĠ Ġthrow ĠUnsupportedOperationException (" Can 't Ġwrite Ġto Ġan Ġasset Ġfile .") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġinput (): ĠInputStream Ġ= Ġcontext . assets . open ( filename ) Ċ Ċ }