| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -193,6 +193,7 @@ object AnalyzeTxtFile { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    } | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    private fun getBookFile(context: Context, book: Book): File { | 
					 | 
					 | 
					 | 
					    private fun getBookFile(context: Context, book: Book): File { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        if (book.bookUrl.isContentPath()) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            val uri = Uri.parse(book.bookUrl) | 
					 | 
					 | 
					 | 
					            val uri = Uri.parse(book.bookUrl) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            val bookFile = FileUtils.getFile(cacheFolder, book.originName, subDirs = *arrayOf()) | 
					 | 
					 | 
					 | 
					            val bookFile = FileUtils.getFile(cacheFolder, book.originName, subDirs = *arrayOf()) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            if (!bookFile.exists()) { | 
					 | 
					 | 
					 | 
					            if (!bookFile.exists()) { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -203,6 +204,8 @@ object AnalyzeTxtFile { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            } | 
					 | 
					 | 
					 | 
					            } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            return bookFile | 
					 | 
					 | 
					 | 
					            return bookFile | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        } | 
					 | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        return File(book.bookUrl) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    private fun getTocRule(book: Book, bookStream: RandomAccessFile, charset: Charset): Pattern? { | 
					 | 
					 | 
					 | 
					    private fun getTocRule(book: Book, bookStream: RandomAccessFile, charset: Charset): Pattern? { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        if (book.tocUrl.isNotEmpty()) { | 
					 | 
					 | 
					 | 
					        if (book.tocUrl.isNotEmpty()) { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |